public static class TdApi.ReportChatPhoto 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.
|
int |
fileId
Identifier of the photo to report.
|
TdApi.ChatReportReason |
reason
The reason for reporting the chat photo.
|
java.lang.String |
text
Additional report details; 0-1024 characters.
|
Constructor and Description |
---|
ReportChatPhoto()
Default constructor for a function, which reports a chat photo to the Telegram moderators.
|
ReportChatPhoto(long chatId,
int fileId,
TdApi.ChatReportReason reason,
java.lang.String text)
Creates a function, which reports a chat photo to the Telegram moderators.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public int fileId
public TdApi.ChatReportReason reason
public java.lang.String text
public static final int CONSTRUCTOR
public ReportChatPhoto()
Returns Ok
public ReportChatPhoto(long chatId, int fileId, TdApi.ChatReportReason reason, java.lang.String text)
Returns Ok
chatId
- Chat identifier.fileId
- Identifier of the photo to report. Only full photos from chatPhoto can be reported.reason
- The reason for reporting the chat photo.text
- Additional report details; 0-1024 characters.public int getConstructor()
getConstructor
in class TdApi.Function