Class TdApi.TextEntityTypeMentionName
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.TextEntityType
dev.voroby.springframework.telegram.client.TdApi.TextEntityTypeMentionName
- Enclosing class:
- TdApi
A text shows instead of a raw mention of the user (e.g., when the user has no username).
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
Identifier of the mentioned user. -
Constructor Summary
ConstructorDescriptionA text shows instead of a raw mention of the user (e.g., when the user has no username).TextEntityTypeMentionName
(long userId) A text shows instead of a raw mention of the user (e.g., when the user has no username). -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
userId
public long userIdIdentifier of the mentioned user. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
TextEntityTypeMentionName
public TextEntityTypeMentionName()A text shows instead of a raw mention of the user (e.g., when the user has no username). -
TextEntityTypeMentionName
public TextEntityTypeMentionName(long userId) A text shows instead of a raw mention of the user (e.g., when the user has no username).- Parameters:
userId
- Identifier of the mentioned user.
-
-
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
-