toJson method

  1. @override
Map<String, dynamic> toJson()
override

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,
    };