toJson method

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

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "allow_user_chats": allowUserChats,
    "allow_bot_chats": allowBotChats,
    "allow_group_chats": allowGroupChats,
    "allow_channel_chats": allowChannelChats,
  };
}