TDLib
Loading...
Searching...
No Matches
botAccessSettings Class Referencefinal

Inherits Object.

Description

Describes users that have access to a bot.

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 TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

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

Static Public Attributes

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

Constructor & Destructor Documentation

◆ botAccessSettings() [1/2]

botAccessSettings ( )

Describes users that have access to a bot.

◆ botAccessSettings() [2/2]

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