Package org.drinkless.tdlib
Class TdApi.RichTextMentionName
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.RichText
org.drinkless.tdlib.TdApi.RichTextMentionName
- Enclosing class:
- TdApi
A rich text that serves as a mention of a user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Text.longIdentifier of the mentioned user. -
Constructor Summary
ConstructorsConstructorDescriptionA rich text that serves as a mention of a user.RichTextMentionName(TdApi.RichText text, long userId) A rich text that serves as a mention of a user. -
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
-
text
Text. -
userId
public long userIdIdentifier of the mentioned user. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
RichTextMentionName
public RichTextMentionName()A rich text that serves as a mention of a user. -
RichTextMentionName
A rich text that serves as a mention of a user.- Parameters:
text- Text.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
-