Class TdApi.FailedToAddMember
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.FailedToAddMember
- Enclosing class:
- TdApi
Contains information about a user that has failed to be added to a chat.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
True, if subscription to Telegram Premium is required to send the user chat invite link.boolean
True, if subscription to Telegram Premium would have allowed to add the user to the chat.long
User identifier. -
Constructor Summary
ConstructorDescriptionContains 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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
userId
public long userIdUser identifier. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
FailedToAddMember
public FailedToAddMember()Contains information about a user that has failed to be added to a chat. -
FailedToAddMember
public FailedToAddMember(long userId, boolean premiumWouldAllowInvite, boolean premiumRequiredToSendMessages) Contains information about a user that has failed to be added to a chat.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-