Skip to content

Commit de09375

Browse files
authored
release 1.4.0 (#63)
1 parent bb339d8 commit de09375

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

README.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,35 @@ TemplateSendMessage - CarouselTemplate
453453
)
454454
)
455455
456+
TemplateSendMessage - ImageCarouselTemplate
457+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
458+
459+
.. code:: python
460+
461+
image_carousel_template_message = TemplateSendMessage(
462+
alt_text='ImageCarousel template',
463+
template=ImageCarouselTemplate(
464+
columns=[
465+
ImageCarouselColumn(
466+
image_url='https://example.com/item1.jpg',
467+
action=PostbackTemplateAction(
468+
label='postback1',
469+
text='postback text1',
470+
data='action=buy&itemid=1'
471+
)
472+
),
473+
ImageCarouselColumn(
474+
image_url='https://example.com/item2.jpg',
475+
action=PostbackTemplateAction(
476+
label='postback2',
477+
text='postback text2',
478+
data='action=buy&itemid=2'
479+
)
480+
)
481+
]
482+
)
483+
)
484+
456485
Webhook
457486
-------
458487

linebot/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
from __future__ import unicode_literals
1818

19-
__version__ = '1.3.0'
19+
__version__ = '1.4.0'
2020
__author__ = 'LINE Corporation'
2121
__copyright__ = 'Copyright 2016, LINE Corporation'
2222
__license__ = 'Apache 2.0'

0 commit comments

Comments
 (0)