public static class TdApi.MessagePinMessage extends TdApi.MessageContent
| 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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()
TdApi.ObjectgetConstructor in class TdApi.Object