Inherits Function.
Sends messages from a quick reply shortcut. Requires Telegram Business subscription.
Returns object_ptr<Messages>.
Public Fields | |
int53 | chat_id_ |
Identifier of the chat to which to send messages. The chat must be a private chat with a regular user. | |
int32 | shortcut_id_ |
Unique identifier of the quick reply shortcut. | |
int32 | sending_id_ |
Non-persistent identifier, which will be returned back in messageSendingStatePending object and can be used to match sent messages and corresponding updateNewMessage updates. | |
Public Types | |
using | ReturnType = object_ptr< messages > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
sendQuickReplyShortcutMessages () | |
sendQuickReplyShortcutMessages (int53 chat_id_, int32 shortcut_id_, int32 sending_id_) | |
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 = 232068765 |
Identifier uniquely determining a type of the object. | |
Default constructor for a function, which sends messages from a quick reply shortcut. Requires Telegram Business subscription.
Returns object_ptr<Messages>.
sendQuickReplyShortcutMessages | ( | int53 | chat_id_, |
int32 | shortcut_id_, | ||
int32 | sending_id_ | ||
) |
Creates a function, which sends messages from a quick reply shortcut. Requires Telegram Business subscription.
Returns object_ptr<Messages>.
[in] | chat_id_ | Identifier of the chat to which to send messages. The chat must be a private chat with a regular user. |
[in] | shortcut_id_ | Unique identifier of the quick reply shortcut. |
[in] | sending_id_ | Non-persistent identifier, which will be returned back in messageSendingStatePending object and can be used to match sent messages and corresponding updateNewMessage updates. |
|
finalvirtual |