Package org.drinkless.tdlib
Class TdApi.TextEntityTypeMentionName
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.TextEntityType
-
- org.drinkless.tdlib.TdApi.TextEntityTypeMentionName
-
- Enclosing class:
- TdApi
public static class TdApi.TextEntityTypeMentionName extends TdApi.TextEntityType
A text shows instead of a raw mention of the user (e.g., when the user has no username).
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.longuserIdIdentifier of the mentioned user.
-
Constructor Summary
Constructors Constructor Description TextEntityTypeMentionName()A 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
userId
public long userId
Identifier of the mentioned user.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-