public static class TdApi.ReportStory extends TdApi.Function<TdApi.ReportStoryResult>
Returns ReportStoryResult
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
byte[] |
optionId
Option identifier chosen by the user; leave empty for the initial request.
|
int |
storyId
The identifier of the story to report.
|
long |
storySenderChatId
The identifier of the sender of the story to report.
|
java.lang.String |
text
Additional report details; 0-1024 characters; leave empty for the initial request.
|
| Constructor and Description |
|---|
ReportStory()
Default constructor for a function, which reports a story to the Telegram moderators.
|
ReportStory(long storySenderChatId,
int storyId,
byte[] optionId,
java.lang.String text)
Creates a function, which reports a story to the Telegram moderators.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long storySenderChatId
public int storyId
public byte[] optionId
public java.lang.String text
public static final int CONSTRUCTOR
public ReportStory()
Returns ReportStoryResult
public ReportStory(long storySenderChatId,
int storyId,
byte[] optionId,
java.lang.String text)
Returns ReportStoryResult
storySenderChatId - The identifier of the sender of the story to report.storyId - The identifier of the story to report.optionId - Option identifier chosen by the user; leave empty for the initial request.text - Additional report details; 0-1024 characters; leave empty for the initial request.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object