Package it.tdlight.jni
Class TdApi.TextEntityTypeMentionName
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.TextEntityType
it.tdlight.jni.TdApi.TextEntityTypeMentionName
- Enclosing class:
- TdApi
public static class TdApi.TextEntityTypeMentionName extends TdApi.TextEntityType
A text shows instead of a raw mention
of the user (e.g., when the user has no username).
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
long
userId
Identifier of the mentioned user. -
Constructor Summary
Constructors Constructor 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).TextEntityTypeMentionName(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
userId
public long userIdIdentifier of the mentioned user. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
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
- long Identifier of the mentioned user.
-
TextEntityTypeMentionName
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-