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

Inherits Object.

Description

Describes private chats chosen for automatic interaction with a business.

Public Member Functions

 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 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 > chat_ids_
 Identifiers of selected private chats.
bool exclude_selected_
 If true, then all private chats except the selected are chosen. Otherwise, only the selected chats are chosen.
array< int53 > excluded_chat_ids_
 Identifiers of private chats that are always excluded; for businessConnectedBot only.
bool select_contacts_
 True, if all private chats with contacts are selected.
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_non_contacts_
 True, if all private chats with non-contacts are selected.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ businessRecipients() [1/2]

businessRecipients ( )

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.

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: