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::chatInviteLinkInfo Class Referencefinal

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

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

Public Member Functions

 chatInviteLinkInfo ()
 
 chatInviteLinkInfo (int53 chat_id_, int32 accessible_for_, object_ptr< InviteLinkChatType > &&type_, string const &title_, object_ptr< chatPhotoInfo > &&photo_, int32 accent_color_id_, string const &description_, int32 member_count_, array< int53 > &&member_user_ids_, object_ptr< chatInviteLinkSubscriptionInfo > &&subscription_info_, bool creates_join_request_, bool is_public_, object_ptr< verificationStatus > &&verification_status_)
 
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

int53 chat_id_
 Chat identifier of the invite link; 0 if the user has no access to the chat before joining.
 
int32 accessible_for_
 If non-zero, the amount of time for which read access to the chat will remain available, in seconds.
 
object_ptr< InviteLinkChatTypetype_
 Type of the chat.
 
string title_
 Title of the chat.
 
object_ptr< chatPhotoInfophoto_
 Chat photo; may be null.
 
int32 accent_color_id_
 Identifier of the accent color for chat title and background of chat photo.
 
string description_
 Chat description.
 
int32 member_count_
 Number of members in the chat.
 
array< int53member_user_ids_
 User identifiers of some chat members that may be known to the current user.
 
object_ptr< chatInviteLinkSubscriptionInfosubscription_info_
 Information about subscription plan that must be paid by the user to use the link; may be null if the link doesn&#x27;t require subscription.
 
bool creates_join_request_
 True, if the link only creates join request.
 
bool is_public_
 True, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup.
 
object_ptr< verificationStatusverification_status_
 Information about verification status of the chat; may be null if none.
 

Static Public Attributes

static const std::int32_t ID = -1145310535
 Identifier uniquely determining a type of the object.
 

Detailed Description

Contains information about a chat invite link.

Definition at line 13420 of file td_api.h.

Constructor & Destructor Documentation

◆ chatInviteLinkInfo() [1/2]

td::td_api::chatInviteLinkInfo::chatInviteLinkInfo ( )

Contains information about a chat invite link.

◆ chatInviteLinkInfo() [2/2]

td::td_api::chatInviteLinkInfo::chatInviteLinkInfo ( int53  chat_id_,
int32  accessible_for_,
object_ptr< InviteLinkChatType > &&  type_,
string const &  title_,
object_ptr< chatPhotoInfo > &&  photo_,
int32  accent_color_id_,
string const &  description_,
int32  member_count_,
array< int53 > &&  member_user_ids_,
object_ptr< chatInviteLinkSubscriptionInfo > &&  subscription_info_,
bool  creates_join_request_,
bool  is_public_,
object_ptr< verificationStatus > &&  verification_status_ 
)

Contains information about a chat invite link.

Parameters
[in]chat_id_Chat identifier of the invite link; 0 if the user has no access to the chat before joining.
[in]accessible_for_If non-zero, the amount of time for which read access to the chat will remain available, in seconds.
[in]type_Type of the chat.
[in]title_Title of the chat.
[in]photo_Chat photo; may be null.
[in]accent_color_id_Identifier of the accent color for chat title and background of chat photo.
[in]description_Chat description.
[in]member_count_Number of members in the chat.
[in]member_user_ids_User identifiers of some chat members that may be known to the current user.
[in]subscription_info_Information about subscription plan that must be paid by the user to use the link; may be null if the link doesn&#x27;t require subscription.
[in]creates_join_request_True, if the link only creates join request.
[in]is_public_True, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup.
[in]verification_status_Information about verification status of the chat; may be null if none.

Member Function Documentation

◆ store()

void td::td_api::chatInviteLinkInfo::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

◆ accent_color_id_

int32 td::td_api::chatInviteLinkInfo::accent_color_id_

Identifier of the accent color for chat title and background of chat photo.

Definition at line 13441 of file td_api.h.

◆ accessible_for_

int32 td::td_api::chatInviteLinkInfo::accessible_for_

If non-zero, the amount of time for which read access to the chat will remain available, in seconds.

Definition at line 13433 of file td_api.h.

◆ chat_id_

int53 td::td_api::chatInviteLinkInfo::chat_id_

Chat identifier of the invite link; 0 if the user has no access to the chat before joining.

Definition at line 13431 of file td_api.h.

◆ creates_join_request_

bool td::td_api::chatInviteLinkInfo::creates_join_request_

True, if the link only creates join request.

Definition at line 13451 of file td_api.h.

◆ description_

string td::td_api::chatInviteLinkInfo::description_

Chat description.

Definition at line 13443 of file td_api.h.

◆ ID

const std::int32_t td::td_api::chatInviteLinkInfo::ID = -1145310535
static

Identifier uniquely determining a type of the object.

Definition at line 13482 of file td_api.h.

◆ is_public_

bool td::td_api::chatInviteLinkInfo::is_public_

True, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup.

Definition at line 13453 of file td_api.h.

◆ member_count_

int32 td::td_api::chatInviteLinkInfo::member_count_

Number of members in the chat.

Definition at line 13445 of file td_api.h.

◆ member_user_ids_

array<int53> td::td_api::chatInviteLinkInfo::member_user_ids_

User identifiers of some chat members that may be known to the current user.

Definition at line 13447 of file td_api.h.

◆ photo_

object_ptr<chatPhotoInfo> td::td_api::chatInviteLinkInfo::photo_

Chat photo; may be null.

Definition at line 13439 of file td_api.h.

◆ subscription_info_

object_ptr<chatInviteLinkSubscriptionInfo> td::td_api::chatInviteLinkInfo::subscription_info_

Information about subscription plan that must be paid by the user to use the link; may be null if the link doesn&#x27;t require subscription.

Definition at line 13449 of file td_api.h.

◆ title_

string td::td_api::chatInviteLinkInfo::title_

Title of the chat.

Definition at line 13437 of file td_api.h.

◆ type_

object_ptr<InviteLinkChatType> td::td_api::chatInviteLinkInfo::type_

Type of the chat.

Definition at line 13435 of file td_api.h.

◆ verification_status_

object_ptr<verificationStatus> td::td_api::chatInviteLinkInfo::verification_status_

Information about verification status of the chat; may be null if none.

Definition at line 13455 of file td_api.h.


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