Class TdApi.BotVerificationParameters

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

public static class TdApi.BotVerificationParameters extends TdApi.Object
Describes parameters of verification that is provided by a bot.
  • Field Details

    • iconCustomEmojiId

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

      public String organizationName
      Name of the organization that provides verification.
    • defaultCustomDescription

      public TdApi.FormattedText defaultCustomDescription
      Default custom description of verification reason to be used as placeholder in setMessageSenderBotVerification; may be null if none.
    • canSetCustomDescription

      public boolean canSetCustomDescription
      True, if the bot is allowed to provide custom description for verified entities.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • BotVerificationParameters

      public BotVerificationParameters()
      Describes parameters of verification that is provided by a bot.
    • BotVerificationParameters

      public BotVerificationParameters(long iconCustomEmojiId, String organizationName, TdApi.FormattedText defaultCustomDescription, boolean canSetCustomDescription)
      Describes parameters of verification that is provided by a bot.
      Parameters:
      iconCustomEmojiId - Identifier of the custom emoji that is used as the verification sign.
      organizationName - Name of the organization that provides verification.
      defaultCustomDescription - Default custom description of verification reason to be used as placeholder in setMessageSenderBotVerification; may be null if none.
      canSetCustomDescription - True, if the bot is allowed to provide custom description for verified 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