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,
501501 aspect_mode = None ,
502502 background_color = None ,
503503 action = None ,
504+ animated = None ,
504505 ** kwargs ):
505506 """__init__ method.
506507
@@ -523,6 +524,7 @@ def __init__(self,
523524 :param str background_color: Background color of the image. Use a hexadecimal color code.
524525 :param action: Action performed when this image is tapped
525526 :type action: list[T <= :py:class:`linebot.models.actions.Action`]
527+ :param bool action: True to play an animated image
526528 :param kwargs:
527529 """
528530 super (ImageComponent , self ).__init__ (** kwargs )
@@ -542,6 +544,7 @@ def __init__(self,
542544 self .aspect_mode = aspect_mode
543545 self .background_color = background_color
544546 self .action = get_action (action )
547+ self .animated = animated
545548
546549
547550class SeparatorComponent (FlexComponent ):
You can’t perform that action at this time.
0 commit comments