Package org.drinkless.tdlib
Class TdApi.VerificationStatus
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.VerificationStatus
- Enclosing class:
- TdApi
Contains information about verification status of a chat or a user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Identifier of the custom emoji to be shown as verification sign provided by a bot for the user; 0 if none.static final int
Identifier uniquely determining type of the object.boolean
True, if the chat or the user is marked as fake by Telegram.boolean
True, if the chat or the user is marked as scam by Telegram.boolean
True, if the chat or the user is verified by Telegram. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about verification status of a chat or a user.VerificationStatus
(boolean isVerified, boolean isScam, boolean isFake, long botVerificationIconCustomEmojiId) Contains information about verification status of a chat or a user. -
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
-
isVerified
public boolean isVerifiedTrue, if the chat or the user is verified by Telegram. -
isScam
public boolean isScamTrue, if the chat or the user is marked as scam by Telegram. -
isFake
public boolean isFakeTrue, if the chat or the user is marked as fake by Telegram. -
botVerificationIconCustomEmojiId
public long botVerificationIconCustomEmojiIdIdentifier of the custom emoji to be shown as verification sign provided by a bot for the user; 0 if none. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
VerificationStatus
public VerificationStatus()Contains information about verification status of a chat or a user. -
VerificationStatus
public VerificationStatus(boolean isVerified, boolean isScam, boolean isFake, long botVerificationIconCustomEmojiId) Contains information about verification status of a chat or a user.- Parameters:
isVerified
- True, if the chat or the user is verified by Telegram.isScam
- True, if the chat or the user is marked as scam by Telegram.isFake
- True, if the chat or the user is marked as fake by Telegram.botVerificationIconCustomEmojiId
- Identifier of the custom emoji to be shown as verification sign provided by a bot for the user; 0 if none.
-
-
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
-