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

Inherits Object.

Description

Describes private chats chosen for automatic interaction with a business.

Public Fields

array< int53chat_ids_
 Identifiers of selected private chats.
 
array< int53excluded_chat_ids_
 Identifiers of private chats that are always excluded; for businessConnectedBot only.
 
bool select_existing_chats_
 True, if all existing private chats are selected.
 
bool select_new_chats_
 True, if all new private chats are selected.
 
bool select_contacts_
 True, if all private chats with contacts are selected.
 
bool select_non_contacts_
 True, if all private chats with non-contacts are selected.
 
bool exclude_selected_
 If true, then all private chats except the selected are chosen. Otherwise, only the selected chats are chosen.
 

Public Instance Methods

 businessRecipients ()
 
 businessRecipients (array< int53 > &&chat_ids_, array< int53 > &&excluded_chat_ids_, bool select_existing_chats_, bool select_new_chats_, bool select_contacts_, bool select_non_contacts_, bool exclude_selected_)
 
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 = 868656909
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ businessRecipients() [1/2]

Describes private chats chosen for automatic interaction with a business.

◆ businessRecipients() [2/2]

businessRecipients ( array< int53 > &&  chat_ids_,
array< int53 > &&  excluded_chat_ids_,
bool  select_existing_chats_,
bool  select_new_chats_,
bool  select_contacts_,
bool  select_non_contacts_,
bool  exclude_selected_ 
)

Describes private chats chosen for automatic interaction with a business.

Parameters
[in]chat_ids_Identifiers of selected private chats.
[in]excluded_chat_ids_Identifiers of private chats that are always excluded; for businessConnectedBot only.
[in]select_existing_chats_True, if all existing private chats are selected.
[in]select_new_chats_True, if all new private chats are selected.
[in]select_contacts_True, if all private chats with contacts are selected.
[in]select_non_contacts_True, if all private chats with non-contacts are selected.
[in]exclude_selected_If true, then all private chats except the selected are chosen. Otherwise, only the selected chats are chosen.

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: