public static class TdApi.FailedToAddMember extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
premiumRequiredToSendMessages
True, if subscription to Telegram Premium is required to send the user chat invite link.
|
boolean |
premiumWouldAllowInvite
True, if subscription to Telegram Premium would have allowed to add the user to the chat.
|
long |
userId
User identifier.
|
| Constructor and Description |
|---|
FailedToAddMember()
Contains information about a user that has failed to be added to a chat.
|
FailedToAddMember(long userId,
boolean premiumWouldAllowInvite,
boolean premiumRequiredToSendMessages)
Contains information about a user that has failed to be added to a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public boolean premiumWouldAllowInvite
public boolean premiumRequiredToSendMessages
public static final int CONSTRUCTOR
public FailedToAddMember()
public FailedToAddMember(long userId,
boolean premiumWouldAllowInvite,
boolean premiumRequiredToSendMessages)
userId - User identifier.premiumWouldAllowInvite - True, if subscription to Telegram Premium would have allowed to add the user to the chat.premiumRequiredToSendMessages - True, if subscription to Telegram Premium is required to send the user chat invite link.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object