public static class TdApi.MessagePinMessage extends TdApi.MessageContent
TdApi.MessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
messageId
Identifier of the pinned message, can be an identifier of a deleted message or 0.
|
Constructor and Description |
---|
MessagePinMessage()
A message has been pinned.
|
MessagePinMessage(long messageId)
A message has been pinned.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long messageId
public static final int CONSTRUCTOR
public MessagePinMessage()
public MessagePinMessage(long messageId)
messageId
- Identifier of the pinned message, can be an identifier of a deleted message or 0.public int getConstructor()
getConstructor
in class TdApi.MessageContent