Animation

class aiogram.types.animation.Animation(conf: Optional[Dict[str, Any]] = None, **kwargs: Any)[source]

Bases: aiogram.types.base.TelegramObject, aiogram.types.mixins.Downloadable

You can provide an animation for your game so that it looks stylish in chats (check out Lumberjack for an example). This object represents an animation file to be displayed in the message containing a game.

https://core.telegram.org/bots/api#animation

Deserialize object

Parameters
  • conf

  • kwargs