Inherits Function.
Checks whether the current user can send a story on behalf of a chat; requires can_post_stories right for supergroup and channel chats.
Returns object_ptr<CanSendStoryResult>.
Public Fields | |
int53 | chat_id_ |
Chat identifier. | |
Public Types | |
using | ReturnType = object_ptr< CanSendStoryResult > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
canSendStory () | |
canSendStory (int53 chat_id_) | |
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 = -1226825365 |
Identifier uniquely determining a type of the object. | |
canSendStory | ( | ) |
Default constructor for a function, which checks whether the current user can send a story on behalf of a chat; requires can_post_stories right for supergroup and channel chats.
Returns object_ptr<CanSendStoryResult>.
|
explicit |
Creates a function, which checks whether the current user can send a story on behalf of a chat; requires can_post_stories right for supergroup and channel chats.
Returns object_ptr<CanSendStoryResult>.
[in] | chat_id_ | Chat identifier. |
|
finalvirtual |