Package org.drinkless.tdlib
Class TdApi.BotVerification
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.BotVerification
- Enclosing class:
- TdApi
Describes verification status provided by a bot.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the bot that provided the verification.static final intIdentifier uniquely determining type of the object.Custom description of verification reason set by the bot.longIdentifier of the custom emoji that is used as the verification sign. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes verification status provided by a bot.BotVerification(long botUserId, long iconCustomEmojiId, TdApi.FormattedText customDescription) Describes verification status provided by a bot. -
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
-
botUserId
public long botUserIdIdentifier of the bot that provided the verification. -
iconCustomEmojiId
public long iconCustomEmojiIdIdentifier of the custom emoji that is used as the verification sign. -
customDescription
Custom description of verification reason set by the bot. Can contain only Mention, Hashtag, Cashtag, PhoneNumber, BankCardNumber, Url, and EmailAddress entities. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
BotVerification
public BotVerification()Describes verification status provided by a bot. -
BotVerification
public BotVerification(long botUserId, long iconCustomEmojiId, TdApi.FormattedText customDescription) Describes verification status provided by a bot.- Parameters:
botUserId- Identifier of the bot that provided the verification.iconCustomEmojiId- Identifier of the custom emoji that is used as the verification sign.customDescription- Custom description of verification reason set by the bot. Can contain only Mention, Hashtag, Cashtag, PhoneNumber, BankCardNumber, Url, and EmailAddress entities.
-
-
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
-