libtd-ktx / kotlinx.telegram.extensions / ChatKtx / addMembers
addMembers
open suspend fun
Chat
.addMembers(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
userIds
- Identifiers of the users to be added to the chat.