--- title: documentAttributeAnimated description: Defines an animated GIF image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: documentAttributeAnimated [Back to constructors index](index.md) Defines an animated GIF ### Type: [DocumentAttribute](../types/DocumentAttribute.md) ### Example: ```php $documentAttributeAnimated = ['_' => 'documentAttributeAnimated']; ``` Or, if you're into Lua: ```lua documentAttributeAnimated={_='documentAttributeAnimated'} ```