ChatTypeSupergroup.fromJson constructor

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

Parse from a json

Implementation

factory ChatTypeSupergroup.fromJson(Map<String, dynamic> json) => ChatTypeSupergroup(
  supergroupId: json['supergroup_id'],
  isChannel: json['is_channel'],
);