ChatEventInvitesToggled.fromJson constructor

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

Parses a ChatEventInvitesToggled from TDLib JSON.

Implementation

factory ChatEventInvitesToggled.fromJson(Map<String, dynamic> json) =>
    ChatEventInvitesToggled(
      canInviteUsers: _readBool(json['can_invite_users']),
    );