File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -501,6 +501,7 @@ def __init__(self,
501
501
aspect_mode = None ,
502
502
background_color = None ,
503
503
action = None ,
504
+ animated = None ,
504
505
** kwargs ):
505
506
"""__init__ method.
506
507
@@ -523,6 +524,7 @@ def __init__(self,
523
524
:param str background_color: Background color of the image. Use a hexadecimal color code.
524
525
:param action: Action performed when this image is tapped
525
526
:type action: list[T <= :py:class:`linebot.models.actions.Action`]
527
+ :param bool action: True to play an animated image
526
528
:param kwargs:
527
529
"""
528
530
super (ImageComponent , self ).__init__ (** kwargs )
@@ -542,6 +544,7 @@ def __init__(self,
542
544
self .aspect_mode = aspect_mode
543
545
self .background_color = background_color
544
546
self .action = get_action (action )
547
+ self .animated = animated
545
548
546
549
547
550
class SeparatorComponent (FlexComponent ):
You can’t perform that action at this time.
0 commit comments