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 TypeFieldDescriptionlong
Identifier of the bot that provided the verification.static final int
Identifier uniquely determining type of the object.Custom description of verification reason set by the bot.long
Identifier 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 TypeMethodDescriptionint
Returns 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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-