public static class TdApi.AddChatMembers extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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.
|
AddChatMembers(long chatId,
long[] userIds)
Creates a function, which adds multiple new members to a chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public long[] userIds
public static final int CONSTRUCTOR
public AddChatMembers()
Returns Ok
public AddChatMembers(long chatId, long[] userIds)
Returns Ok
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()
getConstructor
in class TdApi.Function