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

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

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

Public Member Functions

 botAccessSettings ()
 
 botAccessSettings (bool is_restricted_, array< int53 > &&added_user_ids_)
 
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

bool is_restricted_
 True, if access to the bot is restricted to its owner and selected users.
 
array< int53added_user_ids_
 Identifiers of the users who can use the bot additionally to the owner of the bot.
 

Static Public Attributes

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

Detailed Description

Describes users that have access to a bot.

Definition at line 4249 of file td_api.h.

Constructor & Destructor Documentation

◆ botAccessSettings() [1/2]

td::td_api::botAccessSettings::botAccessSettings ( )

Describes users that have access to a bot.

◆ botAccessSettings() [2/2]

td::td_api::botAccessSettings::botAccessSettings ( bool  is_restricted_,
array< int53 > &&  added_user_ids_ 
)

Describes users that have access to a bot.

Parameters
[in]is_restricted_True, if access to the bot is restricted to its owner and selected users.
[in]added_user_ids_Identifiers of the users who can use the bot additionally to the owner of the bot.

Member Function Documentation

◆ store()

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

◆ added_user_ids_

array<int53> td::td_api::botAccessSettings::added_user_ids_

Identifiers of the users who can use the bot additionally to the owner of the bot.

Definition at line 4262 of file td_api.h.

◆ ID

const std::int32_t td::td_api::botAccessSettings::ID = 735061332
static

Identifier uniquely determining a type of the object.

Definition at line 4278 of file td_api.h.

◆ is_restricted_

bool td::td_api::botAccessSettings::is_restricted_

True, if access to the bot is restricted to its owner and selected users.

Definition at line 4260 of file td_api.h.


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