TDLib
|
Inherits td::td_api::Object.
Public Attributes | |
object_ptr< chatPhoto > | photo_ |
Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo. | |
string | description_ |
Supergroup or channel description. | |
int32 | member_count_ |
Number of members in the supergroup or channel; 0 if unknown. | |
int32 | administrator_count_ |
Number of privileged users in the supergroup or channel; 0 if unknown. | |
int32 | restricted_count_ |
Number of restricted users in the supergroup; 0 if unknown. | |
int32 | banned_count_ |
Number of users banned from chat; 0 if unknown. | |
int53 | linked_chat_id_ |
Chat identifier of a discussion group for the channel, or a channel, for which the supergroup is the designated discussion group; 0 if none or unknown. | |
int32 | slow_mode_delay_ |
Delay between consecutive sent messages for non-administrator supergroup members, in seconds. | |
double | slow_mode_delay_expires_in_ |
Time left before next message can be sent in the supergroup, in seconds. An updateSupergroupFullInfo update is not triggered when value of this field changes, but both new and old values are non-zero. | |
bool | can_get_members_ |
True, if members of the chat can be retrieved via getSupergroupMembers or searchChatMembers. | |
bool | has_hidden_members_ |
True, if non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers. | |
bool | can_hide_members_ |
True, if non-administrators and non-bots can be hidden in responses to getSupergroupMembers and searchChatMembers for non-administrators. | |
bool | can_set_sticker_set_ |
True, if the supergroup sticker set can be changed. | |
bool | can_set_location_ |
True, if the supergroup location can be changed. | |
bool | can_get_statistics_ |
True, if the supergroup or channel statistics are available. | |
bool | can_toggle_aggressive_anti_spam_ |
True, if aggressive anti-spam checks can be enabled or disabled in the supergroup. | |
bool | is_all_history_available_ |
True, if new chat members will have access to old messages. In public, discussion, of forum groups and all channels, old messages are always available, so this option affects only private non-forum supergroups without a linked chat. The value of this field is only available to chat administrators. | |
bool | has_aggressive_anti_spam_enabled_ |
True, if aggressive anti-spam checks are enabled in the supergroup. The value of this field is only available to chat administrators. | |
bool | has_pinned_stories_ |
True, if the channel has pinned stories. | |
int64 | sticker_set_id_ |
Identifier of the supergroup sticker set; 0 if none. | |
object_ptr< chatLocation > | location_ |
Location to which the supergroup is connected; may be null if none. | |
object_ptr< chatInviteLink > | invite_link_ |
Primary invite link for the chat; may be null. For chat administrators with can_invite_users right only. | |
array< object_ptr< botCommands > > | bot_commands_ |
List of commands of bots in the group. | |
int53 | upgraded_from_basic_group_id_ |
Identifier of the basic group from which supergroup was upgraded; 0 if none. | |
int53 | upgraded_from_max_message_id_ |
Identifier of the last message in the basic group from which supergroup was upgraded; 0 if none. | |
Static Public Attributes | |
static const std::int32_t | ID = -993472804 |
Identifier uniquely determining a type of the object. | |
Contains full information about a supergroup or channel.
td::td_api::supergroupFullInfo::supergroupFullInfo | ( | ) |
Contains full information about a supergroup or channel.
td::td_api::supergroupFullInfo::supergroupFullInfo | ( | object_ptr< chatPhoto > && | photo_, |
string const & | description_, | ||
int32 | member_count_, | ||
int32 | administrator_count_, | ||
int32 | restricted_count_, | ||
int32 | banned_count_, | ||
int53 | linked_chat_id_, | ||
int32 | slow_mode_delay_, | ||
double | slow_mode_delay_expires_in_, | ||
bool | can_get_members_, | ||
bool | has_hidden_members_, | ||
bool | can_hide_members_, | ||
bool | can_set_sticker_set_, | ||
bool | can_set_location_, | ||
bool | can_get_statistics_, | ||
bool | can_toggle_aggressive_anti_spam_, | ||
bool | is_all_history_available_, | ||
bool | has_aggressive_anti_spam_enabled_, | ||
bool | has_pinned_stories_, | ||
int64 | sticker_set_id_, | ||
object_ptr< chatLocation > && | location_, | ||
object_ptr< chatInviteLink > && | invite_link_, | ||
array< object_ptr< botCommands > > && | bot_commands_, | ||
int53 | upgraded_from_basic_group_id_, | ||
int53 | upgraded_from_max_message_id_ | ||
) |
Contains full information about a supergroup or channel.
[in] | photo_ | Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo. |
[in] | description_ | Supergroup or channel description. |
[in] | member_count_ | Number of members in the supergroup or channel; 0 if unknown. |
[in] | administrator_count_ | Number of privileged users in the supergroup or channel; 0 if unknown. |
[in] | restricted_count_ | Number of restricted users in the supergroup; 0 if unknown. |
[in] | banned_count_ | Number of users banned from chat; 0 if unknown. |
[in] | linked_chat_id_ | Chat identifier of a discussion group for the channel, or a channel, for which the supergroup is the designated discussion group; 0 if none or unknown. |
[in] | slow_mode_delay_ | Delay between consecutive sent messages for non-administrator supergroup members, in seconds. |
[in] | slow_mode_delay_expires_in_ | Time left before next message can be sent in the supergroup, in seconds. An updateSupergroupFullInfo update is not triggered when value of this field changes, but both new and old values are non-zero. |
[in] | can_get_members_ | True, if members of the chat can be retrieved via getSupergroupMembers or searchChatMembers. |
[in] | has_hidden_members_ | True, if non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers. |
[in] | can_hide_members_ | True, if non-administrators and non-bots can be hidden in responses to getSupergroupMembers and searchChatMembers for non-administrators. |
[in] | can_set_sticker_set_ | True, if the supergroup sticker set can be changed. |
[in] | can_set_location_ | True, if the supergroup location can be changed. |
[in] | can_get_statistics_ | True, if the supergroup or channel statistics are available. |
[in] | can_toggle_aggressive_anti_spam_ | True, if aggressive anti-spam checks can be enabled or disabled in the supergroup. |
[in] | is_all_history_available_ | True, if new chat members will have access to old messages. In public, discussion, of forum groups and all channels, old messages are always available, so this option affects only private non-forum supergroups without a linked chat. The value of this field is only available to chat administrators. |
[in] | has_aggressive_anti_spam_enabled_ | True, if aggressive anti-spam checks are enabled in the supergroup. The value of this field is only available to chat administrators. |
[in] | has_pinned_stories_ | True, if the channel has pinned stories. |
[in] | sticker_set_id_ | Identifier of the supergroup sticker set; 0 if none. |
[in] | location_ | Location to which the supergroup is connected; may be null if none. |
[in] | invite_link_ | Primary invite link for the chat; may be null. For chat administrators with can_invite_users right only. |
[in] | bot_commands_ | List of commands of bots in the group. |
[in] | upgraded_from_basic_group_id_ | Identifier of the basic group from which supergroup was upgraded; 0 if none. |
[in] | upgraded_from_max_message_id_ | Identifier of the last message in the basic group from which supergroup was upgraded; 0 if none. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.