Skip to content

Commit e709ec6

Browse files
author
Karl Woojung Kim
authored
Merge pull request #13 from conbus/develop
Develop 2.0.1
2 parents 7856b78 + 95067ba commit e709ec6

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ FBMQ Changelog
44
Latest
55
------
66

7+
2.0.1
8+
_____
9+
10+
* Feature : page.send method return Response
11+
712
2.0.0
813
-----
914

fbmq/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '2.0.0'
1+
__version__ = '2.0.1'
22

33
from .fbmq import *
44
from . import attachment as Attachment

fbmq/fbmq.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,8 @@ def _send(self, payload, callback=None):
258258
if self._after_send is not None:
259259
self._after_send(payload, r)
260260

261+
return r
262+
261263
def send(self, recipient_id, message, quick_replies=None, metadata=None,
262264
notification_type=None, callback=None):
263265
text = message if isinstance(message, str) else None
@@ -270,7 +272,7 @@ def send(self, recipient_id, message, quick_replies=None, metadata=None,
270272
metadata=metadata),
271273
notification_type=notification_type)
272274

273-
self._send(payload, callback=callback)
275+
return self._send(payload, callback=callback)
274276

275277
def typing_on(self, recipient_id):
276278
payload = Payload(recipient=Recipient(id=recipient_id),

0 commit comments

Comments
 (0)