public static class TdApi.GetChatPinnedMessage extends TdApi.Function<TdApi.Message>
Returns Message
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat the message belongs to.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
GetChatPinnedMessage()
Default constructor for a function, which returns information about a newest pinned message in the chat.
|
GetChatPinnedMessage(long chatId)
Creates a function, which returns information about a newest pinned message in the chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public static final int CONSTRUCTOR
public GetChatPinnedMessage()
Returns Message
public GetChatPinnedMessage(long chatId)
Returns Message
chatId - Identifier of the chat the message belongs to.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object