MessageSendOptions class

Options to be used when a message is sent.

Inheritance
Available Extensions

Constructors

MessageSendOptions({required bool disable_notification, required bool from_background, required bool protect_content, required bool update_order_of_installed_sticker_sets, MessageSchedulingState? scheduling_state, required int sending_id, int? extra, int? clientId})
Options to be used when a message is sent

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
disable_notification bool
Pass true to disable notification for the message.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
from_background bool
Pass true if the message is sent from the background.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
protect_content bool
Pass true if the content of the message must be protected from forwarding and saving; for bots only.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scheduling_state MessageSchedulingState?
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.
read / write
sending_id int
Non-persistent identifier, which will be returned back in messageSendingStatePending object and can be used to match sent messages and corresponding updateNewMessage updates.
read / write
update_order_of_installed_sticker_sets bool
Pass true if the user explicitly chosen a sticker or a custom emoji from an installed sticker set; applicable only to sendMessage and sendMessageAlbum.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) MessageSendOptions?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"messageSendOptions"