Inherits Update.
A new pending text message was received in a chat with a bot. The message must be shown in the chat for at most getOption("pending_text_message_period") seconds, replace any other pending message with the same draft_id, and be deleted whenever any incoming message from the bot in the message thread is received.
Public Fields | |
| int53 | chat_id_ |
| Chat identifier. | |
| int32 | forum_topic_id_ |
| The forum topic identifier in which the message will be sent; 0 if none. | |
| int64 | draft_id_ |
| Unique identifier of the message draft within the message thread. | |
| object_ptr< formattedText > | text_ |
| Text of the pending message. | |
Public Instance Methods | |
| updatePendingTextMessage () | |
| updatePendingTextMessage (int53 chat_id_, int32 forum_topic_id_, int64 draft_id_, object_ptr< formattedText > &&text_) | |
| 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 = 1076298155 |
| Identifier uniquely determining a type of the object. | |
A new pending text message was received in a chat with a bot. The message must be shown in the chat for at most getOption("pending_text_message_period") seconds, replace any other pending message with the same draft_id, and be deleted whenever any incoming message from the bot in the message thread is received.
| updatePendingTextMessage | ( | int53 | chat_id_, |
| int32 | forum_topic_id_, | ||
| int64 | draft_id_, | ||
| object_ptr< formattedText > && | text_ | ||
| ) |
A new pending text message was received in a chat with a bot. The message must be shown in the chat for at most getOption("pending_text_message_period") seconds, replace any other pending message with the same draft_id, and be deleted whenever any incoming message from the bot in the message thread is received.
| [in] | chat_id_ | Chat identifier. |
| [in] | forum_topic_id_ | The forum topic identifier in which the message will be sent; 0 if none. |
| [in] | draft_id_ | Unique identifier of the message draft within the message thread. |
| [in] | text_ | Text of the pending message. |
|
finalvirtual |