public static class TdApi.TextEntityTypeMentionName extends TdApi.TextEntityType
| 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public static final int CONSTRUCTOR
public TextEntityTypeMentionName()
public TextEntityTypeMentionName(long userId)
userId - Identifier of the mentioned user.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object