|
TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
| messageSendOptions () | |
| messageSendOptions (bool disable_notification_, bool from_background_, bool protect_content_, bool update_order_of_installed_sticker_sets_, object_ptr< MessageSchedulingState > &&scheduling_state_, int32 sending_id_) | |
| std::int32_t | get_id () const final |
| 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 | |
| bool | disable_notification_ |
| Pass true to disable notification for the message. | |
| bool | from_background_ |
| Pass true if the message is sent from the background. | |
| bool | protect_content_ |
| Pass true if the content of the message must be protected from forwarding and saving; for bots only. | |
| bool | update_order_of_installed_sticker_sets_ |
| Pass true if the user explicitly chosen a sticker or a custom emoji from an installed sticker set; applicable only to sendMessage and sendMessageAlbum. | |
| object_ptr< MessageSchedulingState > | scheduling_state_ |
| Message scheduling state; pass null to send message immediately. Messages sent to a secret chat, live location messages and self-destructing messages can't be scheduled. | |
| 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. | |
Static Public Attributes | |
| static const std::int32_t | ID = 32902046 |
| Identifier uniquely determining a type of the object. | |
Options to be used when a message is sent.
| td::td_api::messageSendOptions::messageSendOptions | ( | ) |
Options to be used when a message is sent.
| td::td_api::messageSendOptions::messageSendOptions | ( | bool | disable_notification_, |
| bool | from_background_, | ||
| bool | protect_content_, | ||
| bool | update_order_of_installed_sticker_sets_, | ||
| object_ptr< MessageSchedulingState > && | scheduling_state_, | ||
| int32 | sending_id_ | ||
| ) |
Options to be used when a message is sent.
| [in] | disable_notification_ | Pass true to disable notification for the message. |
| [in] | from_background_ | Pass true if the message is sent from the background. |
| [in] | protect_content_ | Pass true if the content of the message must be protected from forwarding and saving; for bots only. |
| [in] | update_order_of_installed_sticker_sets_ | Pass true if the user explicitly chosen a sticker or a custom emoji from an installed sticker set; applicable only to sendMessage and sendMessageAlbum. |
| [in] | scheduling_state_ | Message scheduling state; pass null to send message immediately. Messages sent to a secret chat, live location messages and self-destructing messages can't be scheduled. |
| [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. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
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.