Inherits Function.
Saves an inline message to be sent by the given user; for bots only.
Returns object_ptr<PreparedInlineMessageId>.
Public Fields | |
int53 | user_id_ |
Identifier of the user. | |
object_ptr< InputInlineQueryResult > | result_ |
The description of the message. | |
object_ptr< targetChatTypes > | chat_types_ |
Types of the chats to which the message can be sent. | |
Public Types | |
using | ReturnType = object_ptr< preparedInlineMessageId > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
savePreparedInlineMessage () | |
savePreparedInlineMessage (int53 user_id_, object_ptr< InputInlineQueryResult > &&result_, object_ptr< targetChatTypes > &&chat_types_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from 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 |
Static Public Attributes | |
static const std::int32_t | ID = -954963751 |
Identifier uniquely determining a type of the object. | |
Default constructor for a function, which saves an inline message to be sent by the given user; for bots only.
Returns object_ptr<PreparedInlineMessageId>.
savePreparedInlineMessage | ( | int53 | user_id_, |
object_ptr< InputInlineQueryResult > && | result_, | ||
object_ptr< targetChatTypes > && | chat_types_ | ||
) |
Creates a function, which saves an inline message to be sent by the given user; for bots only.
Returns object_ptr<PreparedInlineMessageId>.
[in] | user_id_ | Identifier of the user. |
[in] | result_ | The description of the message. |
[in] | chat_types_ | Types of the chats to which the message can be sent. |
|
finalvirtual |