TargetChatChosen.fromJson constructor

TargetChatChosen.fromJson(
  1. Map<String, dynamic> json
)

Parses a TargetChatChosen from TDLib JSON.

Implementation

factory TargetChatChosen.fromJson(Map<String, dynamic> json) =>
    TargetChatChosen(
      types: _readObject(json['types'], TargetChatTypes.fromJson),
    );