MessageSendingStateFailed class

The message failed to be sent

Inheritance

Constructors

MessageSendingStateFailed({String? extra, int? client_id, int32? error_code, string? error_message, Bool? can_retry, Bool? need_another_sender, double? retry_after})
MessageSendingStateFailed.fromMap(Map<String, dynamic> map)

Properties

can_retry Bool?
True, if the message can be re-sent
getter/setter pair
client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
error_code int32?
An error code; 0 if unknown
getter/setter pair
error_message string?
Error message
getter/setter pair
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
need_another_sender Bool?
True, if the message can be re-sent only on behalf of a different sender
getter/setter pair
retry_after double?
Time left before the message can be re-sent, in seconds. No update is sent when this field changes
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tdType String
JSON object type; maps to the field @type.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

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