Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'allowBotToSendMessages', if (extra != null) '@extra': extra, 'bot_user_id': bot_user_id }; }