BusinessRecipients.fromJson constructor
Parses a BusinessRecipients from TDLib JSON.
Implementation
factory BusinessRecipients.fromJson(Map<String, dynamic> json) =>
BusinessRecipients(
chatIds: _readList<int>(json['chat_ids'], _readInt),
excludedChatIds: _readList<int>(json['excluded_chat_ids'], _readInt),
selectExistingChats: _readBool(json['select_existing_chats']),
selectNewChats: _readBool(json['select_new_chats']),
selectContacts: _readBool(json['select_contacts']),
selectNonContacts: _readBool(json['select_non_contacts']),
excludeSelected: _readBool(json['exclude_selected']),
);