diff --git a/pymessenger/bot.py b/pymessenger/bot.py index d0e5159..83bc56f 100644 --- a/pymessenger/bot.py +++ b/pymessenger/bot.py @@ -46,7 +46,7 @@ def send_recipient(self, recipient_id, payload, notification_type=NotificationTy payload['recipient'] = { 'id': recipient_id } - payload['notification_type'] = notification_type.value + payload['notification_type'] = notification_type return self.send_raw(payload) def send_message(self, recipient_id, message, notification_type=NotificationType.regular):