Inherits Object.
Options to be used when a message is send.
Public Fields | |
bool | disable_notification_ |
Pass true to disable notification for the message. Must be false if the message is sent to a secret chat. | |
bool | from_background_ |
Pass true if the message is sent from the background. | |
object_ptr< MessageSchedulingState > | scheduling_state_ |
Message scheduling state. Messages sent to a secret chat, live location messages and self-destructing messages can't be scheduled. | |
Public Instance Methods | |
sendMessageOptions () | |
sendMessageOptions (bool disable_notification_, bool from_background_, object_ptr< MessageSchedulingState > &&scheduling_state_) | |
std::int32_t | get_id () const final |
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 = 669760254 |
Identifier uniquely determining a type of the object. | |
Options to be used when a message is send.
sendMessageOptions | ( | bool | disable_notification_, |
bool | from_background_, | ||
object_ptr< MessageSchedulingState > && | scheduling_state_ | ||
) |
Options to be used when a message is send.
[in] | disable_notification_ | Pass true to disable notification for the message. Must be false if the message is sent to a secret chat. |
[in] | from_background_ | Pass true if the message is sent from the background. |
[in] | scheduling_state_ | Message scheduling state. Messages sent to a secret chat, live location messages and self-destructing messages can't be scheduled. |
|
inlinefinalvirtual |
|
finalvirtual |