public static class TdApi.ReportChat extends TdApi.Function
Returns Ok
TdApi.Function.Constructors| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long[] |
messageIds
Identifiers of reported messages, if any.
|
TdApi.ChatReportReason |
reason
The reason for reporting the chat.
|
| Constructor and Description |
|---|
ReportChat()
Default constructor for a function, which reports a chat to the Telegram moderators.
|
ReportChat(long chatId,
TdApi.ChatReportReason reason,
long[] messageIds)
Creates a function, which reports a chat to the Telegram moderators.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor() |
toStringpublic long chatId
public TdApi.ChatReportReason reason
public long[] messageIds
public static final int CONSTRUCTOR
public ReportChat()
Returns Ok
public ReportChat(long chatId,
TdApi.ChatReportReason reason,
long[] messageIds)
Returns Ok
chatId - Chat identifier.reason - The reason for reporting the chat.messageIds - Identifiers of reported messages, if any.public int getConstructor()
getConstructor in class TdApi.Function