pyrobale.objects.animation

Classes

Animation

Represents an animation file (GIF or H.264/MPEG-4 AVC video without

Module Contents

class pyrobale.objects.animation.Animation(file_id=None, file_unique_id=None, width=None, height=None, duration=None, thumb=None, file_name=None, mime_type=None, file_size=None, **kwargs)[source]

Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.

Parameters:
  • file_id (Optional[str])

  • file_unique_id (Optional[str])

  • width (Optional[int])

  • height (Optional[int])

  • duration (Optional[int])

  • thumb (Optional[pyrobale.objects.photosize.PhotoSize])

  • file_name (Optional[str])

  • mime_type (Optional[str])

  • file_size (Optional[int])

file_id = None[source]
file_unique_id = None[source]
width = None[source]
height = None[source]
duration = None[source]
thumb = None[source]
file_name = None[source]
mime_type = None[source]
file_size = None[source]