GramIO API Reference / gramio/dist / TelegramInputProfilePhotoAnimated
Interface: TelegramInputProfilePhotoAnimated
Defined in: @gramio/types/out/objects.d.ts:5999
An animated profile photo in the MPEG4 format.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
animation | string | Blob | The animated profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the photo was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files » | @gramio/types/out/objects.d.ts:6007 |
main_frame_timestamp? | number | Optional. Timestamp in seconds of the frame that will be used as the static profile photo. Defaults to 0.0. | @gramio/types/out/objects.d.ts:6011 |
type | "animated" | Type of the profile photo, must be animated | @gramio/types/out/objects.d.ts:6003 |