toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'error': error.toJson(),
'can_retry': canRetry,
'need_another_sender': needAnotherSender,
'need_another_reply_quote': needAnotherReplyQuote,
'need_drop_reply': needDropReply,
'retry_after': retryAfter,
};