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

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

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

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

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.
 

Static Public Attributes

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

Detailed Description

Describes private chats chosen for automatic interaction with a business.

Definition at line 6563 of file td_api.h.

Constructor & Destructor Documentation

◆ businessRecipients() [1/2]

td::td_api::businessRecipients::businessRecipients ( )

Describes private chats chosen for automatic interaction with a business.

◆ businessRecipients() [2/2]

td::td_api::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_ 
)

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 td::td_api::businessRecipients::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_ids_

array<int53> td::td_api::businessRecipients::chat_ids_

Identifiers of selected private chats.

Definition at line 6574 of file td_api.h.

◆ exclude_selected_

bool td::td_api::businessRecipients::exclude_selected_

If true, then all private chats except the selected are chosen. Otherwise, only the selected chats are chosen.

Definition at line 6586 of file td_api.h.

◆ excluded_chat_ids_

array<int53> td::td_api::businessRecipients::excluded_chat_ids_

Identifiers of private chats that are always excluded; for businessConnectedBot only.

Definition at line 6576 of file td_api.h.

◆ ID

const std::int32_t td::td_api::businessRecipients::ID = 868656909
static

Identifier uniquely determining a type of the object.

Definition at line 6607 of file td_api.h.

◆ select_contacts_

bool td::td_api::businessRecipients::select_contacts_

True, if all private chats with contacts are selected.

Definition at line 6582 of file td_api.h.

◆ select_existing_chats_

bool td::td_api::businessRecipients::select_existing_chats_

True, if all existing private chats are selected.

Definition at line 6578 of file td_api.h.

◆ select_new_chats_

bool td::td_api::businessRecipients::select_new_chats_

True, if all new private chats are selected.

Definition at line 6580 of file td_api.h.

◆ select_non_contacts_

bool td::td_api::businessRecipients::select_non_contacts_

True, if all private chats with non-contacts are selected.

Definition at line 6584 of file td_api.h.


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