Inherits Function.
Reports a story to the Telegram moderators.
Returns object_ptr<Ok>.
Public Fields | |
int53 | story_sender_chat_id_ |
The identifier of the sender of the story to report. | |
int32 | story_id_ |
The identifier of the story to report. | |
object_ptr< ReportReason > | reason_ |
The reason for reporting the story. | |
string | text_ |
Additional report details; 0-1024 characters. | |
Public Types | |
using | ReturnType = object_ptr< ok > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
reportStory () | |
reportStory (int53 story_sender_chat_id_, int32 story_id_, object_ptr< ReportReason > &&reason_, string const &text_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -1688244069 |
Identifier uniquely determining a type of the object. | |
reportStory | ( | ) |
Default constructor for a function, which reports a story to the Telegram moderators.
Returns object_ptr<Ok>.
reportStory | ( | int53 | story_sender_chat_id_, |
int32 | story_id_, | ||
object_ptr< ReportReason > && | reason_, | ||
string const & | text_ | ||
) |
Creates a function, which reports a story to the Telegram moderators.
Returns object_ptr<Ok>.
[in] | story_sender_chat_id_ | The identifier of the sender of the story to report. |
[in] | story_id_ | The identifier of the story to report. |
[in] | reason_ | The reason for reporting the story. |
[in] | text_ | Additional report details; 0-1024 characters. |
|
finalvirtual |