MessageSendOptions class

Inheritance

Constructors

MessageSendOptions({bool disableNotification, bool fromBackground, MessageSchedulingState schedulingState})
Options to be used when a message is sent
MessageSendOptions.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

disableNotification bool
disableNotification Pass true to disable notification for the message
read / write
fromBackground bool
fromBackground Pass true if the message is sent from the background
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
schedulingState MessageSchedulingState
schedulingState Message scheduling state. Messages sent to a secret chat, live location messages and self-destructing messages can't be scheduled
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'messageSendOptions'