toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"chat_id": chatId,
"query": query,
"sender_id": senderId?.toJson(),
"from_message_id": fromMessageId,
"offset": offset,
"limit": limit,
"filter": filter?.toJson(),
"message_thread_id": messageThreadId,
"@extra": extra,
};
}