Inherits Function.
Returns the user who will become the owner of the chat after 7 days if the current user does not return to the supergroup or channel during that period or immediately for basic groups; requires owner privileges in the chat. Available only for supergroups and channel chats.
Returns object_ptr<User>.
Public Fields | |
| int53 | chat_id_ |
| Chat identifier. | |
Public Types | |
| using | ReturnType = object_ptr< user > |
| Typedef for the type returned by the function. | |
Public Instance Methods | |
| getChatOwnerAfterLeaving () | |
| getChatOwnerAfterLeaving (int53 chat_id_) | |
| 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 = -1637776102 |
| Identifier uniquely determining a type of the object. | |
Default constructor for a function, which returns the user who will become the owner of the chat after 7 days if the current user does not return to the supergroup or channel during that period or immediately for basic groups; requires owner privileges in the chat. Available only for supergroups and channel chats.
Returns object_ptr<User>.
|
explicit |
Creates a function, which returns the user who will become the owner of the chat after 7 days if the current user does not return to the supergroup or channel during that period or immediately for basic groups; requires owner privileges in the chat. Available only for supergroups and channel chats.
Returns object_ptr<User>.
| [in] | chat_id_ | Chat identifier. |
|
finalvirtual |