toJson method

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

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
      'chat_id': chatId,
      'query': query,
      'icon_custom_emoji_id': iconCustomEmojiId.toString(),
      'exclude_open': excludeOpen,
      'exclude_closed': excludeClosed,
      'offset_date': offsetDate,
      'offset_message_id': offsetMessageId,
      'offset_forum_topic_id': offsetForumTopicId,
      'limit': limit,
      '@type': constructor,
    };