Inherits Function.
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>.
Public Fields | |
string | business_connection_id_ |
Unique identifier of business connection on behalf of which to send the request. | |
int53 | chat_id_ |
Target chat. | |
object_ptr< InputMessageReplyTo > | reply_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. | |
Public Types | |
using | ReturnType = object_ptr< businessMessages > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
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 |
![]() | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 788608366 |
Identifier uniquely determining a type of the object. | |
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 | ( | 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>.
[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. |
|
finalvirtual |