Package it.tdlight.jni
Class TdApi.MessagePinMessage
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessagePinMessage
- Enclosing class:
- TdApi
public static class TdApi.MessagePinMessage extends TdApi.MessageContent
A message has been pinned.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
long
messageId
Identifier of the pinned message, can be an identifier of a deleted message or 0. -
Constructor Summary
Constructors Constructor Description MessagePinMessage()
A message has been pinned.MessagePinMessage(long messageId)
A message has been pinned.MessagePinMessage(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
messageId
public long messageIdIdentifier of the pinned message, can be an identifier of a deleted message or 0. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
MessagePinMessage
public MessagePinMessage()A message has been pinned. -
MessagePinMessage
public MessagePinMessage(long messageId)A message has been pinned.- Parameters:
messageId
- long Identifier of the pinned message, can be an identifier of a deleted message or 0.
-
MessagePinMessage
- 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()
-