Skip to content

get chat member

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

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.

Clone this wiki locally