|
tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
|
#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
Public Types | |
| using | ReturnType = object_ptr< quickReplyMessages > |
| Typedef for the type returned by the function. | |
Public Member Functions | |
| addQuickReplyShortcutMessageAlbum () | |
| addQuickReplyShortcutMessageAlbum (string const &shortcut_name_, int53 reply_to_message_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 | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Public Attributes | |
| string | shortcut_name_ |
| Name of the target shortcut. | |
| int53 | reply_to_message_id_ |
| Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none. | |
| 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 = 1348436244 |
| Identifier uniquely determining a type of the object. | |
Adds 2-10 messages grouped together into an album to a quick reply shortcut. 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<QuickReplyMessages>.
| td::td_api::addQuickReplyShortcutMessageAlbum::addQuickReplyShortcutMessageAlbum | ( | ) |
Default constructor for a function, which adds 2-10 messages grouped together into an album to a quick reply shortcut. 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<QuickReplyMessages>.
| td::td_api::addQuickReplyShortcutMessageAlbum::addQuickReplyShortcutMessageAlbum | ( | string const & | shortcut_name_, |
| int53 | reply_to_message_id_, | ||
| array< object_ptr< InputMessageContent > > && | input_message_contents_ | ||
| ) |
Creates a function, which adds 2-10 messages grouped together into an album to a quick reply shortcut. 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<QuickReplyMessages>.
| [in] | shortcut_name_ | Name of the target shortcut. |
| [in] | reply_to_message_id_ | Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none. |
| [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 |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
|
static |
| array<object_ptr<InputMessageContent> > td::td_api::addQuickReplyShortcutMessageAlbum::input_message_contents_ |
| int53 td::td_api::addQuickReplyShortcutMessageAlbum::reply_to_message_id_ |
| string td::td_api::addQuickReplyShortcutMessageAlbum::shortcut_name_ |