MetadataAudio
| Name | Type | Description |
|---|---|---|
duration | uint32 | in seconds |
File metadata, used to store information about the file, included with media.
| Name | Type |
|---|---|
One of: metadata | |
image | MetadataImage |
video | MetadataVideo |
audio | MetadataAudio |
file | MetadataFile |
custom_emoji | MetadataCustomEmoji |
MetadataAudio
| Name | Type | Description |
|---|---|---|
duration | uint32 | in seconds |
MetadataCustomEmoji
| Name | Type |
|---|---|
width | uint32 |
height | uint32 |
emoji | string |
pack | refs.StickerPackRef |
animated | bool |
MetadataFile
This definition has no fields.
MetadataImage
| Name | Type |
|---|---|
width | uint32 |
height | uint32 |
preview | optional bytes |
animated | bool |
MetadataVideo
| Name | Type | Description |
|---|---|---|
width | uint32 | |
height | uint32 | |
duration | uint32 | in seconds |