ChatMemberBanned.fromJson constructor

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

Creates a new ChatMemberBanned object from json.

Implementation

factory ChatMemberBanned.fromJson(Map<String, dynamic> json) {
  return ChatMemberBanned(
    user: User.fromJson(json['user'] as Map<String, dynamic>),
    untilDate: json['until_date'] as int,
  );
}