Class TdApi.BotVerification

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.BotVerification
Enclosing class:
TdApi

public static class TdApi.BotVerification extends TdApi.Object
Describes verification status provided by a bot.
  • Field Details

    • botUserId

      public long botUserId
      Identifier of the bot that provided the verification.
    • iconCustomEmojiId

      public long iconCustomEmojiId
      Identifier of the custom emoji that is used as the verification sign.
    • customDescription

      public TdApi.FormattedText 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 CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR