public static class TdApi.ReportChatSponsoredMessage extends TdApi.Function<TdApi.ReportChatSponsoredMessageResult>
Returns ReportChatSponsoredMessageResult
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier of the sponsored message.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
messageId
Identifier of the sponsored message.
|
byte[] |
optionId
Option identifier chosen by the user; leave empty for the initial request.
|
| Constructor and Description |
|---|
ReportChatSponsoredMessage()
Default constructor for a function, which reports a sponsored message to Telegram moderators.
|
ReportChatSponsoredMessage(long chatId,
long messageId,
byte[] optionId)
Creates a function, which reports a sponsored message to Telegram moderators.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageId
public byte[] optionId
public static final int CONSTRUCTOR
public ReportChatSponsoredMessage()
Returns ReportChatSponsoredMessageResult
public ReportChatSponsoredMessage(long chatId,
long messageId,
byte[] optionId)
Returns ReportChatSponsoredMessageResult
chatId - Chat identifier of the sponsored message.messageId - Identifier of the sponsored message.optionId - Option identifier chosen by the user; leave empty for the initial request.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object