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
A text shows instead of a raw mention of the user (e.g., when the user has no username).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.longIdentifier of the mentioned user. -
Constructor Summary
ConstructorsConstructorDescriptionA 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 TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-