List of all members | Public Fields | Public Instance Methods | Static Public Attributes
chatInviteLinkInfo Class Referencefinal

Inherits Object.

Description

Contains information about a chat invite link.

Public Fields

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.
 
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.
 
bool is_verified_
 True, if the chat is verified.
 
bool is_scam_
 True, if many users reported this chat as a scam.
 
bool is_fake_
 True, if many users reported this chat as a fake account.
 

Public Instance Methods

 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_, bool creates_join_request_, bool is_public_, bool is_verified_, bool is_scam_, bool is_fake_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ chatInviteLinkInfo() [1/2]

Contains information about a chat invite link.

◆ chatInviteLinkInfo() [2/2]

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_,
bool  creates_join_request_,
bool  is_public_,
bool  is_verified_,
bool  is_scam_,
bool  is_fake_ 
)

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]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]is_verified_True, if the chat is verified.
[in]is_scam_True, if many users reported this chat as a scam.
[in]is_fake_True, if many users reported this chat as a fake account.

Method Documentation

◆ store()

void 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 TlObject.


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