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

Inherits Function.

Description

Returns chat members joined a chat via an invite link. Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for other links.

Returns object_ptr<ChatInviteLinkMembers>.

Public Fields

int53 chat_id_
 Chat identifier.
 
string invite_link_
 Invite link for which to return chat members.
 
object_ptr< chatInviteLinkMemberoffset_member_
 A chat member from which to return next chat members; pass null to get results from the beginning.
 
int32 limit_
 The maximum number of chat members to return; up to 100.
 

Public Types

using ReturnType = object_ptr< chatInviteLinkMembers >
 Typedef for the type returned by the function.
 

Public Instance Methods

 getChatInviteLinkMembers ()
 
 getChatInviteLinkMembers (int53 chat_id_, string const &invite_link_, object_ptr< chatInviteLinkMember > &&offset_member_, int32 limit_)
 
std::int32_t get_id () const final
 
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 = -977921638
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ getChatInviteLinkMembers() [1/2]

Default constructor for a function, which returns chat members joined a chat via an invite link. Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for other links.

Returns object_ptr<ChatInviteLinkMembers>.

◆ getChatInviteLinkMembers() [2/2]

getChatInviteLinkMembers ( int53  chat_id_,
string const &  invite_link_,
object_ptr< chatInviteLinkMember > &&  offset_member_,
int32  limit_ 
)

Creates a function, which returns chat members joined a chat via an invite link. Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for other links.

Returns object_ptr<ChatInviteLinkMembers>.

Parameters
[in]chat_id_Chat identifier.
[in]invite_link_Invite link for which to return chat members.
[in]offset_member_A chat member from which to return next chat members; pass null to get results from the beginning.
[in]limit_The maximum number of chat members to return; up to 100.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

◆ 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: