Inherits td::td_api::Function.
|
using | ReturnType = object_ptr< ok > |
| Typedef for the type returned by the function.
|
|
|
int53 | supergroup_id_ |
| Identifier of the supergroup.
|
|
bool | has_hidden_members_ |
| New value of has_hidden_members.
|
|
|
static const std::int32_t | ID = -1537892918 |
| Identifier uniquely determining a type of the object.
|
|
Toggles whether non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers. Can be called only if supergroupFullInfo.can_hide_members == true.
Returns object_ptr<Ok>.
◆ toggleSupergroupHasHiddenMembers() [1/2]
td::td_api::toggleSupergroupHasHiddenMembers::toggleSupergroupHasHiddenMembers |
( |
| ) |
|
Default constructor for a function, which toggles whether non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers. Can be called only if supergroupFullInfo.can_hide_members == true.
Returns object_ptr<Ok>.
◆ toggleSupergroupHasHiddenMembers() [2/2]
td::td_api::toggleSupergroupHasHiddenMembers::toggleSupergroupHasHiddenMembers |
( |
int53 |
supergroup_id_, |
|
|
bool |
has_hidden_members_ |
|
) |
| |
Creates a function, which toggles whether non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers. Can be called only if supergroupFullInfo.can_hide_members == true.
Returns object_ptr<Ok>.
- Parameters
-
[in] | supergroup_id_ | Identifier of the supergroup. |
[in] | has_hidden_members_ | New value of has_hidden_members. |
◆ get_id()
std::int32_t td::td_api::toggleSupergroupHasHiddenMembers::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::toggleSupergroupHasHiddenMembers::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: