Inherits Function.
Changes the list of pinned stories on a chat page; requires can_edit_stories right in the chat.
Returns object_ptr<Ok>.
Public Fields | |
int53 | chat_id_ |
Identifier of the chat that posted the stories. | |
array< int32 > | story_ids_ |
New list of pinned stories. All stories must be posted to the chat page first. There can be up to getOption("pinned_story_count_max") pinned stories on a chat page. | |
Public Types | |
using | ReturnType = object_ptr< ok > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
setChatPinnedStories () | |
setChatPinnedStories (int53 chat_id_, array< int32 > &&story_ids_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
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 = -669062355 |
Identifier uniquely determining a type of the object. | |
Default constructor for a function, which changes the list of pinned stories on a chat page; requires can_edit_stories right in the chat.
Returns object_ptr<Ok>.
setChatPinnedStories | ( | int53 | chat_id_, |
array< int32 > && | story_ids_ | ||
) |
Creates a function, which changes the list of pinned stories on a chat page; requires can_edit_stories right in the chat.
Returns object_ptr<Ok>.
[in] | chat_id_ | Identifier of the chat that posted the stories. |
[in] | story_ids_ | New list of pinned stories. All stories must be posted to the chat page first. There can be up to getOption("pinned_story_count_max") pinned stories on a chat page. |
|
finalvirtual |