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

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

Inheritance diagram for td::td_api::getChatInviteLinkMembers:
td::td_api::Function td::TlObject

Public Types

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

Public Member Functions

 getChatInviteLinkMembers ()
 
 getChatInviteLinkMembers (int53 chat_id_, string const &invite_link_, bool only_with_expired_subscription_, object_ptr< chatInviteLinkMember > &&offset_member_, int32 limit_)
 
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.
 
string invite_link_
 Invite link for which to return chat members.
 
bool only_with_expired_subscription_
 Pass true if the link is a subscription link and only members with expired subscription must be returned.
 
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.
 

Static Public Attributes

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

Detailed 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>.

Definition at line 102745 of file td_api.h.

Member Typedef Documentation

◆ ReturnType

Typedef for the type returned by the function.

Definition at line 102790 of file td_api.h.

Constructor & Destructor Documentation

◆ getChatInviteLinkMembers() [1/2]

td::td_api::getChatInviteLinkMembers::getChatInviteLinkMembers ( )

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]

td::td_api::getChatInviteLinkMembers::getChatInviteLinkMembers ( int53  chat_id_,
string const &  invite_link_,
bool  only_with_expired_subscription_,
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]only_with_expired_subscription_Pass true if the link is a subscription link and only members with expired subscription must be returned.
[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.

Member Function Documentation

◆ store()

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

◆ chat_id_

int53 td::td_api::getChatInviteLinkMembers::chat_id_

Chat identifier.

Definition at line 102756 of file td_api.h.

◆ ID

const std::int32_t td::td_api::getChatInviteLinkMembers::ID = 1728376124
static

Identifier uniquely determining a type of the object.

Definition at line 102787 of file td_api.h.

◆ invite_link_

string td::td_api::getChatInviteLinkMembers::invite_link_

Invite link for which to return chat members.

Definition at line 102758 of file td_api.h.

◆ limit_

int32 td::td_api::getChatInviteLinkMembers::limit_

The maximum number of chat members to return; up to 100.

Definition at line 102764 of file td_api.h.

◆ offset_member_

object_ptr<chatInviteLinkMember> td::td_api::getChatInviteLinkMembers::offset_member_

A chat member from which to return next chat members; pass null to get results from the beginning.

Definition at line 102762 of file td_api.h.

◆ only_with_expired_subscription_

bool td::td_api::getChatInviteLinkMembers::only_with_expired_subscription_

Pass true if the link is a subscription link and only members with expired subscription must be returned.

Definition at line 102760 of file td_api.h.


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