libtd-ktx / kotlinx.telegram.coroutines / addChatMembers
addChatMembers
suspend fun
TelegramFlow
.addChatMembers(chatId:
Long
, userIds:
IntArray
?):
Unit
Suspend function, which adds multiple new members to a chat. Currently this option is only available for supergroups and channels. This option can’t be used to join a chat. Members can’t be added to a channel if it has more than 200 members. Members will not be added until the chat state has been synchronized with the server.
Parameters
chatId
- Chat identifier.
userIds
- Identifiers of the users to be added to the chat.