getChatMember - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.coroutines / getChatMember

getChatMember

suspend fun TelegramFlow.getChatMember(chatId: Long, userId: Int): ChatMember

Suspend function, which returns information about a single member of a chat.

Parameters

chatId - Chat identifier.

userId - User identifier.

Return ChatMember A user with information about joining/leaving a chat.