Skip to content

Commit b934245

Browse files
authored
Revert "Add an argument animated to ImageComponent (#416)"
This reverts commit b0cfbcd.
1 parent da6559f commit b934245

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

linebot/models/flex_message.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,6 @@ def __init__(self,
501501
aspect_mode=None,
502502
background_color=None,
503503
action=None,
504-
animated=None,
505504
**kwargs):
506505
"""__init__ method.
507506
@@ -524,7 +523,6 @@ def __init__(self,
524523
:param str background_color: Background color of the image. Use a hexadecimal color code.
525524
:param action: Action performed when this image is tapped
526525
:type action: list[T <= :py:class:`linebot.models.actions.Action`]
527-
:param bool action: True to play an animated image
528526
:param kwargs:
529527
"""
530528
super(ImageComponent, self).__init__(**kwargs)
@@ -544,7 +542,6 @@ def __init__(self,
544542
self.aspect_mode = aspect_mode
545543
self.background_color = background_color
546544
self.action = get_action(action)
547-
self.animated = animated
548545

549546

550547
class SeparatorComponent(FlexComponent):

0 commit comments

Comments
 (0)