TargetChatChosen.fromJson constructor
Parses a TargetChatChosen from TDLib JSON.
Implementation
factory TargetChatChosen.fromJson(Map<String, dynamic> json) =>
TargetChatChosen(
allowUserChats: _readBool(json['allow_user_chats']),
allowBotChats: _readBool(json['allow_bot_chats']),
allowGroupChats: _readBool(json['allow_group_chats']),
allowChannelChats: _readBool(json['allow_channel_chats']),
);