toJson method

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

Converts this object to TDLib JSON.

Implementation

@override
Map<String, dynamic> toJson() => {
  '@type': CONSTRUCTOR,
  'chat_ids': chatIds,
  'excluded_chat_ids': excludedChatIds,
  'select_existing_chats': selectExistingChats,
  'select_new_chats': selectNewChats,
  'select_contacts': selectContacts,
  'select_non_contacts': selectNonContacts,
  'exclude_selected': excludeSelected,
};