Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion linebot/models/flex_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class BubbleContainer(FlexContainer):
"""

def __init__(self, direction=None, header=None, hero=None, body=None, footer=None, styles=None,
**kwargs):
size=None, **kwargs):
"""__init__ method.

:param str direction: Text directionality and the order of components
Expand All @@ -98,6 +98,7 @@ def __init__(self, direction=None, header=None, hero=None, body=None, footer=Non
:type footer: :py:class:`linebot.models.flex_message.BoxComponent`
:param styles: Style of each block
:type styles: :py:class:`linebot.models.flex_message.BubbleStyle`
:param str size: Size of the bubble
:param kwargs:
"""
super(BubbleContainer, self).__init__(**kwargs)
Expand All @@ -109,6 +110,7 @@ def __init__(self, direction=None, header=None, hero=None, body=None, footer=Non
self.body = self.get_or_new_from_json_dict(body, BoxComponent)
self.footer = self.get_or_new_from_json_dict(footer, BoxComponent)
self.styles = self.get_or_new_from_json_dict(styles, BubbleStyle)
self.size = size


class BubbleStyle(with_metaclass(ABCMeta, Base)):
Expand Down