|
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< quickReplyMessage > |
| Typedef for the type returned by the function. | |
Public Member Functions | |
| addQuickReplyShortcutMessage () | |
| addQuickReplyShortcutMessage (string const &shortcut_name_, int53 reply_to_message_id_, object_ptr< InputMessageContent > &&input_message_content_) | |
| 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. | |
| object_ptr< InputMessageContent > | input_message_content_ |
| The content of the message to be added; inputMessagePaidMedia, inputMessageForwarded and inputMessageLocation with live_period aren't supported. | |
Static Public Attributes | |
| static const std::int32_t | ID = 1058573098 |
| Identifier uniquely determining a type of the object. | |
Adds a message to a quick reply shortcut. If shortcut doesn't exist and there are less than getOption("quick_reply_shortcut_count_max") shortcuts, then a new shortcut is created. The shortcut must not contain more than getOption("quick_reply_shortcut_message_count_max") messages after adding the new message. Returns the added message.
Returns object_ptr<QuickReplyMessage>.
| td::td_api::addQuickReplyShortcutMessage::addQuickReplyShortcutMessage | ( | ) |
Default constructor for a function, which adds a message to a quick reply shortcut. If shortcut doesn't exist and there are less than getOption("quick_reply_shortcut_count_max") shortcuts, then a new shortcut is created. The shortcut must not contain more than getOption("quick_reply_shortcut_message_count_max") messages after adding the new message. Returns the added message.
Returns object_ptr<QuickReplyMessage>.
| td::td_api::addQuickReplyShortcutMessage::addQuickReplyShortcutMessage | ( | string const & | shortcut_name_, |
| int53 | reply_to_message_id_, | ||
| object_ptr< InputMessageContent > && | input_message_content_ | ||
| ) |
Creates a function, which adds a message to a quick reply shortcut. If shortcut doesn't exist and there are less than getOption("quick_reply_shortcut_count_max") shortcuts, then a new shortcut is created. The shortcut must not contain more than getOption("quick_reply_shortcut_message_count_max") messages after adding the new message. Returns the added message.
Returns object_ptr<QuickReplyMessage>.
| [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_content_ | The content of the message to be added; inputMessagePaidMedia, inputMessageForwarded and inputMessageLocation with live_period aren't supported. |
|
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 |
| object_ptr<InputMessageContent> td::td_api::addQuickReplyShortcutMessage::input_message_content_ |
The content of the message to be added; inputMessagePaidMedia, inputMessageForwarded and inputMessageLocation with live_period aren't supported.
| int53 td::td_api::addQuickReplyShortcutMessage::reply_to_message_id_ |
| string td::td_api::addQuickReplyShortcutMessage::shortcut_name_ |