Skip to content

Commit

Permalink
release 1.4.0 (line#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
be-hase authored Sep 8, 2017
1 parent bb339d8 commit de09375
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,35 @@ TemplateSendMessage - CarouselTemplate
)
)
TemplateSendMessage - ImageCarouselTemplate
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: python
image_carousel_template_message = TemplateSendMessage(
alt_text='ImageCarousel template',
template=ImageCarouselTemplate(
columns=[
ImageCarouselColumn(
image_url='https://example.com/item1.jpg',
action=PostbackTemplateAction(
label='postback1',
text='postback text1',
data='action=buy&itemid=1'
)
),
ImageCarouselColumn(
image_url='https://example.com/item2.jpg',
action=PostbackTemplateAction(
label='postback2',
text='postback text2',
data='action=buy&itemid=2'
)
)
]
)
)
Webhook
-------

Expand Down
2 changes: 1 addition & 1 deletion linebot/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

from __future__ import unicode_literals

__version__ = '1.3.0'
__version__ = '1.4.0'
__author__ = 'LINE Corporation'
__copyright__ = 'Copyright 2016, LINE Corporation'
__license__ = 'Apache 2.0'
Expand Down

0 comments on commit de09375

Please sign in to comment.