Package org.drinkless.tdlib
Class TdApi.RichTextMention
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.RichText
org.drinkless.tdlib.TdApi.RichTextMention
- Enclosing class:
- TdApi
A mention of a Telegram user or chat by a username.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Text.The username. -
Constructor Summary
ConstructorsConstructorDescriptionA mention of a Telegram user or chat by a username.RichTextMention(TdApi.RichText text, String username) A mention of a Telegram user or chat by a 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
-
text
Text. -
username
The username. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
RichTextMention
public RichTextMention()A mention of a Telegram user or chat by a username. -
RichTextMention
A mention of a Telegram user or chat by a username.- Parameters:
text- Text.username- The username.
-
-
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
-