public static class TdApi.AddChatMembers extends TdApi.Function<TdApi.FailedToAddMembers>
Returns FailedToAddMembers
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long[] |
userIds
Identifiers of the users to be added to the chat.
|
| Constructor and Description |
|---|
AddChatMembers()
Default constructor for a function, which adds multiple new members to a chat; requires canInviteUsers member right.
|
AddChatMembers(long chatId,
long[] userIds)
Creates a function, which adds multiple new members to a chat; requires canInviteUsers member right.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long[] userIds
public static final int CONSTRUCTOR
public AddChatMembers()
Returns FailedToAddMembers
public AddChatMembers(long chatId,
long[] userIds)
Returns FailedToAddMembers
chatId - Chat identifier.userIds - Identifiers of the users to be added to the chat. The maximum number of added users is 20 for supergroups and 100 for channels.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object