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

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

Inheritance diagram for td::td_api::sendBusinessMessageAlbum:
td::td_api::Function td::TlObject

Public Types

using ReturnType = object_ptr< businessMessages >
 Typedef for the type returned by the function.
 

Public Member Functions

 sendBusinessMessageAlbum ()
 
 sendBusinessMessageAlbum (string const &business_connection_id_, int53 chat_id_, object_ptr< InputMessageReplyTo > &&reply_to_, bool disable_notification_, bool protect_content_, int64 effect_id_, array< object_ptr< InputMessageContent > > &&input_message_contents_)
 
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

string business_connection_id_
 Unique identifier of business connection on behalf of which to send the request.
 
int53 chat_id_
 Target chat.
 
object_ptr< InputMessageReplyToreply_to_
 Information about the message to be replied; pass null if none.
 
bool disable_notification_
 Pass true to disable notification for the message.
 
bool protect_content_
 Pass true if the content of the message must be protected from forwarding and saving.
 
int64 effect_id_
 Identifier of the effect to apply to the message.
 
array< object_ptr< InputMessageContent > > input_message_contents_
 Contents of messages to be sent. At most 10 messages can be added to an album. All messages must have the same value of show_caption_above_media.
 

Static Public Attributes

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

Detailed Description

Sends 2-10 messages grouped together into an album on behalf of a business account; for bots only. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages.

Returns object_ptr<BusinessMessages>.

Definition at line 125570 of file td_api.h.

Member Typedef Documentation

◆ ReturnType

Typedef for the type returned by the function.

Definition at line 125621 of file td_api.h.

Constructor & Destructor Documentation

◆ sendBusinessMessageAlbum() [1/2]

td::td_api::sendBusinessMessageAlbum::sendBusinessMessageAlbum ( )

Default constructor for a function, which sends 2-10 messages grouped together into an album on behalf of a business account; for bots only. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages.

Returns object_ptr<BusinessMessages>.

◆ sendBusinessMessageAlbum() [2/2]

td::td_api::sendBusinessMessageAlbum::sendBusinessMessageAlbum ( string const &  business_connection_id_,
int53  chat_id_,
object_ptr< InputMessageReplyTo > &&  reply_to_,
bool  disable_notification_,
bool  protect_content_,
int64  effect_id_,
array< object_ptr< InputMessageContent > > &&  input_message_contents_ 
)

Creates a function, which sends 2-10 messages grouped together into an album on behalf of a business account; for bots only. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages.

Returns object_ptr<BusinessMessages>.

Parameters
[in]business_connection_id_Unique identifier of business connection on behalf of which to send the request.
[in]chat_id_Target chat.
[in]reply_to_Information about the message to be replied; pass null if none.
[in]disable_notification_Pass true to disable notification for the message.
[in]protect_content_Pass true if the content of the message must be protected from forwarding and saving.
[in]effect_id_Identifier of the effect to apply to the message.
[in]input_message_contents_Contents of messages to be sent. At most 10 messages can be added to an album. All messages must have the same value of show_caption_above_media.

Member Function Documentation

◆ store()

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

◆ business_connection_id_

string td::td_api::sendBusinessMessageAlbum::business_connection_id_

Unique identifier of business connection on behalf of which to send the request.

Definition at line 125581 of file td_api.h.

◆ chat_id_

int53 td::td_api::sendBusinessMessageAlbum::chat_id_

Target chat.

Definition at line 125583 of file td_api.h.

◆ disable_notification_

bool td::td_api::sendBusinessMessageAlbum::disable_notification_

Pass true to disable notification for the message.

Definition at line 125587 of file td_api.h.

◆ effect_id_

int64 td::td_api::sendBusinessMessageAlbum::effect_id_

Identifier of the effect to apply to the message.

Definition at line 125591 of file td_api.h.

◆ ID

const std::int32_t td::td_api::sendBusinessMessageAlbum::ID = 788608366
static

Identifier uniquely determining a type of the object.

Definition at line 125618 of file td_api.h.

◆ input_message_contents_

array<object_ptr<InputMessageContent> > td::td_api::sendBusinessMessageAlbum::input_message_contents_

Contents of messages to be sent. At most 10 messages can be added to an album. All messages must have the same value of show_caption_above_media.

Definition at line 125593 of file td_api.h.

◆ protect_content_

bool td::td_api::sendBusinessMessageAlbum::protect_content_

Pass true if the content of the message must be protected from forwarding and saving.

Definition at line 125589 of file td_api.h.

◆ reply_to_

object_ptr<InputMessageReplyTo> td::td_api::sendBusinessMessageAlbum::reply_to_

Information about the message to be replied; pass null if none.

Definition at line 125585 of file td_api.h.


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