tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::supergroupFullInfo Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::supergroupFullInfo:
td::td_api::Object td::TlObject

Public Member Functions

 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_, int53 direct_messages_chat_id_, int32 slow_mode_delay_, double slow_mode_delay_expires_in_, bool can_enable_paid_messages_, bool can_enable_paid_reaction_, 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_get_revenue_statistics_, bool can_get_star_revenue_statistics_, bool can_send_gift_, bool can_toggle_aggressive_anti_spam_, bool is_all_history_available_, bool can_have_sponsored_messages_, bool has_aggressive_anti_spam_enabled_, bool has_paid_media_allowed_, bool has_pinned_stories_, int32 gift_count_, int32 my_boost_count_, int32 unrestrict_boost_count_, int53 outgoing_paid_message_star_count_, int64 sticker_set_id_, int64 custom_emoji_sticker_set_id_, object_ptr< chatLocation > &&location_, object_ptr< chatInviteLink > &&invite_link_, array< object_ptr< botCommands > > &&bot_commands_, object_ptr< botVerification > &&bot_verification_, object_ptr< ProfileTab > &&main_profile_tab_, int53 upgraded_from_basic_group_id_, int53 upgraded_from_max_message_id_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

object_ptr< chatPhotophoto_
 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.
 
int53 direct_messages_chat_id_
 Chat identifier of a direct messages group for the channel, or a channel, for which the supergroup is the designated direct messages group; 0 if none.
 
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_enable_paid_messages_
 True, if paid messages can be enabled in the supergroup chat; for supergroup only.
 
bool can_enable_paid_reaction_
 True, if paid reaction can be enabled in the channel chat; for channels only.
 
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_get_revenue_statistics_
 True, if the supergroup or channel revenue statistics are available.
 
bool can_get_star_revenue_statistics_
 True, if the supergroup or channel Telegram Star revenue statistics are available.
 
bool can_send_gift_
 True, if the user can send a gift to the supergroup or channel using sendGift or transferGift.
 
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 can_have_sponsored_messages_
 True, if the chat can have sponsored messages. The value of this field is only available to the owner of the chat.
 
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_paid_media_allowed_
 True, if paid media can be sent and forwarded to the channel chat; for channels only.
 
bool has_pinned_stories_
 True, if the supergroup or channel has pinned stories.
 
int32 gift_count_
 Number of saved to profile gifts for channels without can_post_messages administrator right, otherwise, the total number of received gifts.
 
int32 my_boost_count_
 Number of times the current user boosted the supergroup or channel.
 
int32 unrestrict_boost_count_
 Number of times the supergroup must be boosted by a user to ignore slow mode and chat permission restrictions; 0 if unspecified.
 
int53 outgoing_paid_message_star_count_
 Number of Telegram Stars that must be paid by the current user for each sent message to the supergroup.
 
int64 sticker_set_id_
 Identifier of the supergroup sticker set that must be shown before user sticker sets; 0 if none.
 
int64 custom_emoji_sticker_set_id_
 Identifier of the custom emoji sticker set that can be used in the supergroup without Telegram Premium subscription; 0 if none.
 
object_ptr< chatLocationlocation_
 Location to which the supergroup is connected; may be null if none.
 
object_ptr< chatInviteLinkinvite_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.
 
object_ptr< botVerificationbot_verification_
 Information about verification status of the supergroup or the channel provided by a bot; may be null if none or unknown.
 
object_ptr< ProfileTabmain_profile_tab_
 The main tab chosen by the administrators of the channel; may be null if not chosen manually.
 
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 = -497664769
 Identifier uniquely determining a type of the object.
 

Detailed Description

Contains full information about a supergroup or channel.

Definition at line 71322 of file td_api.h.

Constructor & Destructor Documentation

◆ supergroupFullInfo() [1/2]

td::td_api::supergroupFullInfo::supergroupFullInfo ( )

Contains full information about a supergroup or channel.

◆ supergroupFullInfo() [2/2]

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_,
int53  direct_messages_chat_id_,
int32  slow_mode_delay_,
double  slow_mode_delay_expires_in_,
bool  can_enable_paid_messages_,
bool  can_enable_paid_reaction_,
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_get_revenue_statistics_,
bool  can_get_star_revenue_statistics_,
bool  can_send_gift_,
bool  can_toggle_aggressive_anti_spam_,
bool  is_all_history_available_,
bool  can_have_sponsored_messages_,
bool  has_aggressive_anti_spam_enabled_,
bool  has_paid_media_allowed_,
bool  has_pinned_stories_,
int32  gift_count_,
int32  my_boost_count_,
int32  unrestrict_boost_count_,
int53  outgoing_paid_message_star_count_,
int64  sticker_set_id_,
int64  custom_emoji_sticker_set_id_,
object_ptr< chatLocation > &&  location_,
object_ptr< chatInviteLink > &&  invite_link_,
array< object_ptr< botCommands > > &&  bot_commands_,
object_ptr< botVerification > &&  bot_verification_,
object_ptr< ProfileTab > &&  main_profile_tab_,
int53  upgraded_from_basic_group_id_,
int53  upgraded_from_max_message_id_ 
)

Contains full information about a supergroup or channel.

Parameters
[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]direct_messages_chat_id_Chat identifier of a direct messages group for the channel, or a channel, for which the supergroup is the designated direct messages group; 0 if none.
[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_enable_paid_messages_True, if paid messages can be enabled in the supergroup chat; for supergroup only.
[in]can_enable_paid_reaction_True, if paid reaction can be enabled in the channel chat; for channels only.
[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_get_revenue_statistics_True, if the supergroup or channel revenue statistics are available.
[in]can_get_star_revenue_statistics_True, if the supergroup or channel Telegram Star revenue statistics are available.
[in]can_send_gift_True, if the user can send a gift to the supergroup or channel using sendGift or transferGift.
[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]can_have_sponsored_messages_True, if the chat can have sponsored messages. The value of this field is only available to the owner of the chat.
[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_paid_media_allowed_True, if paid media can be sent and forwarded to the channel chat; for channels only.
[in]has_pinned_stories_True, if the supergroup or channel has pinned stories.
[in]gift_count_Number of saved to profile gifts for channels without can_post_messages administrator right, otherwise, the total number of received gifts.
[in]my_boost_count_Number of times the current user boosted the supergroup or channel.
[in]unrestrict_boost_count_Number of times the supergroup must be boosted by a user to ignore slow mode and chat permission restrictions; 0 if unspecified.
[in]outgoing_paid_message_star_count_Number of Telegram Stars that must be paid by the current user for each sent message to the supergroup.
[in]sticker_set_id_Identifier of the supergroup sticker set that must be shown before user sticker sets; 0 if none.
[in]custom_emoji_sticker_set_id_Identifier of the custom emoji sticker set that can be used in the supergroup without Telegram Premium subscription; 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]bot_verification_Information about verification status of the supergroup or the channel provided by a bot; may be null if none or unknown.
[in]main_profile_tab_The main tab chosen by the administrators of the channel; may be null if not chosen manually.
[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.

Member Function Documentation

◆ store()

void td::td_api::supergroupFullInfo::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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ administrator_count_

int32 td::td_api::supergroupFullInfo::administrator_count_

Number of privileged users in the supergroup or channel; 0 if unknown.

Definition at line 71339 of file td_api.h.

◆ banned_count_

int32 td::td_api::supergroupFullInfo::banned_count_

Number of users banned from chat; 0 if unknown.

Definition at line 71343 of file td_api.h.

◆ bot_commands_

array<object_ptr<botCommands> > td::td_api::supergroupFullInfo::bot_commands_

List of commands of bots in the group.

Definition at line 71403 of file td_api.h.

◆ bot_verification_

object_ptr<botVerification> td::td_api::supergroupFullInfo::bot_verification_

Information about verification status of the supergroup or the channel provided by a bot; may be null if none or unknown.

Definition at line 71405 of file td_api.h.

◆ can_enable_paid_messages_

bool td::td_api::supergroupFullInfo::can_enable_paid_messages_

True, if paid messages can be enabled in the supergroup chat; for supergroup only.

Definition at line 71353 of file td_api.h.

◆ can_enable_paid_reaction_

bool td::td_api::supergroupFullInfo::can_enable_paid_reaction_

True, if paid reaction can be enabled in the channel chat; for channels only.

Definition at line 71355 of file td_api.h.

◆ can_get_members_

bool td::td_api::supergroupFullInfo::can_get_members_

True, if members of the chat can be retrieved via getSupergroupMembers or searchChatMembers.

Definition at line 71357 of file td_api.h.

◆ can_get_revenue_statistics_

bool td::td_api::supergroupFullInfo::can_get_revenue_statistics_

True, if the supergroup or channel revenue statistics are available.

Definition at line 71369 of file td_api.h.

◆ can_get_star_revenue_statistics_

bool td::td_api::supergroupFullInfo::can_get_star_revenue_statistics_

True, if the supergroup or channel Telegram Star revenue statistics are available.

Definition at line 71371 of file td_api.h.

◆ can_get_statistics_

bool td::td_api::supergroupFullInfo::can_get_statistics_

True, if the supergroup or channel statistics are available.

Definition at line 71367 of file td_api.h.

◆ can_have_sponsored_messages_

bool td::td_api::supergroupFullInfo::can_have_sponsored_messages_

True, if the chat can have sponsored messages. The value of this field is only available to the owner of the chat.

Definition at line 71379 of file td_api.h.

◆ can_hide_members_

bool td::td_api::supergroupFullInfo::can_hide_members_

True, if non-administrators and non-bots can be hidden in responses to getSupergroupMembers and searchChatMembers for non-administrators.

Definition at line 71361 of file td_api.h.

◆ can_send_gift_

bool td::td_api::supergroupFullInfo::can_send_gift_

True, if the user can send a gift to the supergroup or channel using sendGift or transferGift.

Definition at line 71373 of file td_api.h.

◆ can_set_location_

bool td::td_api::supergroupFullInfo::can_set_location_

True, if the supergroup location can be changed.

Definition at line 71365 of file td_api.h.

◆ can_set_sticker_set_

bool td::td_api::supergroupFullInfo::can_set_sticker_set_

True, if the supergroup sticker set can be changed.

Definition at line 71363 of file td_api.h.

◆ can_toggle_aggressive_anti_spam_

bool td::td_api::supergroupFullInfo::can_toggle_aggressive_anti_spam_

True, if aggressive anti-spam checks can be enabled or disabled in the supergroup.

Definition at line 71375 of file td_api.h.

◆ custom_emoji_sticker_set_id_

int64 td::td_api::supergroupFullInfo::custom_emoji_sticker_set_id_

Identifier of the custom emoji sticker set that can be used in the supergroup without Telegram Premium subscription; 0 if none.

Definition at line 71397 of file td_api.h.

◆ description_

string td::td_api::supergroupFullInfo::description_

Supergroup or channel description.

Definition at line 71335 of file td_api.h.

◆ direct_messages_chat_id_

int53 td::td_api::supergroupFullInfo::direct_messages_chat_id_

Chat identifier of a direct messages group for the channel, or a channel, for which the supergroup is the designated direct messages group; 0 if none.

Definition at line 71347 of file td_api.h.

◆ gift_count_

int32 td::td_api::supergroupFullInfo::gift_count_

Number of saved to profile gifts for channels without can_post_messages administrator right, otherwise, the total number of received gifts.

Definition at line 71387 of file td_api.h.

◆ has_aggressive_anti_spam_enabled_

bool td::td_api::supergroupFullInfo::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.

Definition at line 71381 of file td_api.h.

◆ has_hidden_members_

bool td::td_api::supergroupFullInfo::has_hidden_members_

True, if non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers.

Definition at line 71359 of file td_api.h.

◆ has_paid_media_allowed_

bool td::td_api::supergroupFullInfo::has_paid_media_allowed_

True, if paid media can be sent and forwarded to the channel chat; for channels only.

Definition at line 71383 of file td_api.h.

◆ has_pinned_stories_

bool td::td_api::supergroupFullInfo::has_pinned_stories_

True, if the supergroup or channel has pinned stories.

Definition at line 71385 of file td_api.h.

◆ ID

const std::int32_t td::td_api::supergroupFullInfo::ID = -497664769
static

Identifier uniquely determining a type of the object.

Definition at line 71465 of file td_api.h.

◆ invite_link_

object_ptr<chatInviteLink> td::td_api::supergroupFullInfo::invite_link_

Primary invite link for the chat; may be null. For chat administrators with can_invite_users right only.

Definition at line 71401 of file td_api.h.

◆ is_all_history_available_

bool td::td_api::supergroupFullInfo::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.

Definition at line 71377 of file td_api.h.

◆ linked_chat_id_

int53 td::td_api::supergroupFullInfo::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.

Definition at line 71345 of file td_api.h.

◆ location_

object_ptr<chatLocation> td::td_api::supergroupFullInfo::location_

Location to which the supergroup is connected; may be null if none.

Definition at line 71399 of file td_api.h.

◆ main_profile_tab_

object_ptr<ProfileTab> td::td_api::supergroupFullInfo::main_profile_tab_

The main tab chosen by the administrators of the channel; may be null if not chosen manually.

Definition at line 71407 of file td_api.h.

◆ member_count_

int32 td::td_api::supergroupFullInfo::member_count_

Number of members in the supergroup or channel; 0 if unknown.

Definition at line 71337 of file td_api.h.

◆ my_boost_count_

int32 td::td_api::supergroupFullInfo::my_boost_count_

Number of times the current user boosted the supergroup or channel.

Definition at line 71389 of file td_api.h.

◆ outgoing_paid_message_star_count_

int53 td::td_api::supergroupFullInfo::outgoing_paid_message_star_count_

Number of Telegram Stars that must be paid by the current user for each sent message to the supergroup.

Definition at line 71393 of file td_api.h.

◆ photo_

object_ptr<chatPhoto> td::td_api::supergroupFullInfo::photo_

Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo.

Definition at line 71333 of file td_api.h.

◆ restricted_count_

int32 td::td_api::supergroupFullInfo::restricted_count_

Number of restricted users in the supergroup; 0 if unknown.

Definition at line 71341 of file td_api.h.

◆ slow_mode_delay_

int32 td::td_api::supergroupFullInfo::slow_mode_delay_

Delay between consecutive sent messages for non-administrator supergroup members, in seconds.

Definition at line 71349 of file td_api.h.

◆ slow_mode_delay_expires_in_

double td::td_api::supergroupFullInfo::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.

Definition at line 71351 of file td_api.h.

◆ sticker_set_id_

int64 td::td_api::supergroupFullInfo::sticker_set_id_

Identifier of the supergroup sticker set that must be shown before user sticker sets; 0 if none.

Definition at line 71395 of file td_api.h.

◆ unrestrict_boost_count_

int32 td::td_api::supergroupFullInfo::unrestrict_boost_count_

Number of times the supergroup must be boosted by a user to ignore slow mode and chat permission restrictions; 0 if unspecified.

Definition at line 71391 of file td_api.h.

◆ upgraded_from_basic_group_id_

int53 td::td_api::supergroupFullInfo::upgraded_from_basic_group_id_

Identifier of the basic group from which supergroup was upgraded; 0 if none.

Definition at line 71409 of file td_api.h.

◆ upgraded_from_max_message_id_

int53 td::td_api::supergroupFullInfo::upgraded_from_max_message_id_

Identifier of the last message in the basic group from which supergroup was upgraded; 0 if none.

Definition at line 71411 of file td_api.h.


The documentation for this class was generated from the following file: