Inherits td::td_api::Function.
|
using | ReturnType = object_ptr< chat > |
| Typedef for the type returned by the function.
|
|
|
int53 | chat_id_ |
| Identifier of the chat to upgrade.
|
|
|
static const std::int32_t | ID = 300488122 |
| Identifier uniquely determining a type of the object.
|
|
Creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires creator privileges. Deactivates the original basic group.
Returns object_ptr<Chat>.
◆ upgradeBasicGroupChatToSupergroupChat() [1/2]
td::td_api::upgradeBasicGroupChatToSupergroupChat::upgradeBasicGroupChatToSupergroupChat |
( |
| ) |
|
Default constructor for a function, which creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires creator privileges. Deactivates the original basic group.
Returns object_ptr<Chat>.
◆ upgradeBasicGroupChatToSupergroupChat() [2/2]
td::td_api::upgradeBasicGroupChatToSupergroupChat::upgradeBasicGroupChatToSupergroupChat |
( |
int53 |
chat_id_ | ) |
|
|
explicit |
Creates a function, which creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires creator privileges. Deactivates the original basic group.
Returns object_ptr<Chat>.
- Parameters
-
[in] | chat_id_ | Identifier of the chat to upgrade. |
◆ get_id()
std::int32_t td::td_api::upgradeBasicGroupChatToSupergroupChat::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::upgradeBasicGroupChatToSupergroupChat::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: