toJson method

  1. @override
Map<String, dynamic> toJson([
  1. dynamic extra
])
override

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "user_id": userId,
    "deleted_message_count": deletedMessageCount,
    "banned_user_count": bannedUserCount,
    "restricted_user_count": restrictedUserCount,
  };
}