Package org.drinkless.tdlib
Class TdApi.BotVerificationParameters
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.BotVerificationParameters
- Enclosing class:
- TdApi
Describes parameters of verification that is provided by a bot.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue, if the bot is allowed to provide custom description for verified entities.static final intIdentifier uniquely determining type of the object.Default custom description of verification reason to be used as placeholder in setMessageSenderBotVerification; may be null if none.longIdentifier of the custom emoji that is used as the verification sign.Name of the organization that provides verification. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes parameters of verification that is provided by a bot.BotVerificationParameters(long iconCustomEmojiId, String organizationName, TdApi.FormattedText defaultCustomDescription, boolean canSetCustomDescription) Describes parameters of verification that is 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
-
iconCustomEmojiId
public long iconCustomEmojiIdIdentifier 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
public boolean canSetCustomDescriptionTrue, if the bot is allowed to provide custom description for verified entities. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-