Package org.drinkless.tdlib
Class TdApi.FailedToAddMember
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.FailedToAddMember
- Enclosing class:
- TdApi
Contains information about a user that has failed to be added to a chat.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanTrue, if subscription to Telegram Premium is required to send the user chat invite link.booleanTrue, if subscription to Telegram Premium would have allowed to add the user to the chat.longUser identifier. -
Constructor Summary
ConstructorsConstructorDescriptionContains 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 TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-