mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-02-16 18:31:45 +01:00
Created aa (markdown)
parent
663c6a5f35
commit
05633ca8b8
1 changed files with 28 additions and 0 deletions
28
aa.md
Normal file
28
aa.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Telegram\Bot\Objects;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class Video.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @method string getFileId() Unique identifier for this file.
|
||||||
|
* @method int getWidth() Video width as defined by sender.
|
||||||
|
* @method int getHeight() Video height as defined by sender.
|
||||||
|
* @method int getDuration() Duration of the video in seconds as defined by sender.
|
||||||
|
* @method PhotoSize getThumb() (Optional). Video thumbnail.
|
||||||
|
* @method string getMimeType() (Optional). Mime type of a file as defined by sender.
|
||||||
|
* @method int getFileSize() (Optional). File size.
|
||||||
|
*/
|
||||||
|
class Video extends BaseObject
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function relations()
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'thumb' => PhotoSize::class,
|
||||||
|
];
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue