public static class TdApi.TextEntityTypeMentionName extends TdApi.TextEntityType
TdApi.TextEntityType.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
userId
Identifier of the mentioned user.
|
Constructor and 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).
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long userId
public static final int CONSTRUCTOR
public TextEntityTypeMentionName()
public TextEntityTypeMentionName(long userId)
userId
- Identifier of the mentioned user.public int getConstructor()
getConstructor
in class TdApi.TextEntityType