toJson method

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

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "reply_count": replyCount,
    "recent_replier_ids": recentReplierIds.map((i) => i.toJson()).toList(),
    "last_read_inbox_message_id": lastReadInboxMessageId,
    "last_read_outbox_message_id": lastReadOutboxMessageId,
    "last_message_id": lastMessageId,
  };
}