public static class TdApi.GetChatSponsoredMessage extends TdApi.Function
Returns SponsoredMessage
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Identifier of the chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
Constructor and Description |
---|
GetChatSponsoredMessage()
Default constructor for a function, which returns sponsored message to be shown in a chat; for channel chats only.
|
GetChatSponsoredMessage(long chatId)
Creates a function, which returns sponsored message to be shown in a chat; for channel chats only.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public static final int CONSTRUCTOR
public GetChatSponsoredMessage()
Returns SponsoredMessage
public GetChatSponsoredMessage(long chatId)
Returns SponsoredMessage
chatId
- Identifier of the chat.public int getConstructor()
getConstructor
in class TdApi.Function