| 1 | <?php |
||
| 5 | class InlineQueryResultVoice extends InlineQueryResultAbstract |
||
| 6 | { |
||
| 7 | const ENTITY_TYPE = 'InlineQueryResultVoice'; |
||
| 8 | |||
| 9 | const RESULT_TYPE = 'voice'; |
||
| 10 | |||
| 11 | protected $voice_url; |
||
| 12 | |||
| 13 | protected $voice_duration; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @return mixed |
||
| 17 | */ |
||
| 18 | public function getVoiceUrl() |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param mixed $voice_url |
||
| 25 | * |
||
| 26 | * @return $this |
||
| 27 | */ |
||
| 28 | public function setVoiceUrl($voice_url) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return mixed |
||
| 37 | */ |
||
| 38 | public function getVoiceDuration() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param mixed $voice_duration |
||
| 45 | * |
||
| 46 | * @return $this |
||
| 47 | */ |
||
| 48 | public function setVoiceDuration($voice_duration) |
||
| 54 | } |
||
| 55 |