messageMediaWidget
Attributes:
| Name | Type | Required |
|---|---|---|
| is_copy | Bool | Optional |
| can_query | Bool | Optional |
| background_query | Bool | Optional |
| width | int | Yes |
| height | int | Yes |
| payload | bytes | Yes |
| public_data | string | Optional |
| public_data_hash | long | Optional |
| chat_data | string | Optional |
| widget_id | long | Optional |
Type: MessageMedia
Example:
$messageMediaWidget = ['_' => 'messageMediaWidget', 'is_copy' => Bool, 'can_query' => Bool, 'background_query' => Bool, 'width' => int, 'height' => int, 'payload' => 'bytes', 'public_data' => 'string', 'public_data_hash' => long, 'chat_data' => 'string', 'widget_id' => long];