| Total Complexity | 2 | 
| Total Lines | 65 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 16 | class InlineQueryResultVoiceType extends InlineQueryResultType implements HasParseModeVariableInterface  | 
            ||
| 17 | { | 
            ||
| 18 | use FillFromArrayTrait;  | 
            ||
| 19 | |||
| 20 | /**  | 
            ||
| 21 | * A valid URL for the voice recording.  | 
            ||
| 22 | *  | 
            ||
| 23 | * @var string  | 
            ||
| 24 | */  | 
            ||
| 25 | public $voiceUrl;  | 
            ||
| 26 | |||
| 27 | /**  | 
            ||
| 28 | * Recording title.  | 
            ||
| 29 | *  | 
            ||
| 30 | * @var string  | 
            ||
| 31 | */  | 
            ||
| 32 | public $title;  | 
            ||
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * Optional. Caption, 0-1024 characters.  | 
            ||
| 36 | *  | 
            ||
| 37 | * @var string|null  | 
            ||
| 38 | */  | 
            ||
| 39 | public $caption;  | 
            ||
| 40 | |||
| 41 | /**  | 
            ||
| 42 | * Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic,  | 
            ||
| 43 | * fixed-width text or inline URLs in the media caption.  | 
            ||
| 44 | *  | 
            ||
| 45 | * @var string|null  | 
            ||
| 46 | */  | 
            ||
| 47 | public $parseMode;  | 
            ||
| 48 | |||
| 49 | /**  | 
            ||
| 50 | * Optional. Recording duration in seconds.  | 
            ||
| 51 | *  | 
            ||
| 52 | * @var int|null  | 
            ||
| 53 | */  | 
            ||
| 54 | public $voiceDuration;  | 
            ||
| 55 | |||
| 56 | /**  | 
            ||
| 57 | * Optional. Content of the message to be sent instead of the voice recording.  | 
            ||
| 58 | *  | 
            ||
| 59 | * @var InputMessageContentType|null  | 
            ||
| 60 | */  | 
            ||
| 61 | public $inputMessageContent;  | 
            ||
| 62 | |||
| 63 | /**  | 
            ||
| 64 | * InlineQueryResultVoiceType constructor.  | 
            ||
| 65 | *  | 
            ||
| 66 | * @param string $id  | 
            ||
| 67 | * @param string $voiceUrl  | 
            ||
| 68 | * @param string $title  | 
            ||
| 69 | * @param array|null $data  | 
            ||
| 70 | *  | 
            ||
| 71 | * @throws \Greenplugin\TelegramBot\Exception\BadArgumentException  | 
            ||
| 72 | */  | 
            ||
| 73 | public function __construct(string $id, string $voiceUrl, string $title, array $data = null)  | 
            ||
| 84 |