| 1 | <?php |
||
| 5 | class InlineQueryResultDocument extends InlineQueryResultAbstract |
||
| 6 | { |
||
| 7 | const ENTITY_TYPE = 'InlineQueryResultDocument'; |
||
| 8 | |||
| 9 | const RESULT_TYPE = 'document'; |
||
| 10 | |||
| 11 | const MIME_TYPE_PDF = 'application/pdf'; |
||
| 12 | |||
| 13 | const MIME_TYPE_ZIP = 'application/zip'; |
||
| 14 | |||
| 15 | protected $document_url; |
||
| 16 | |||
| 17 | protected $mime_type; |
||
| 18 | |||
| 19 | protected $description; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return mixed |
||
| 23 | */ |
||
| 24 | public function getDocumentUrl() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param mixed $document_url |
||
| 31 | * |
||
| 32 | * @return $this |
||
| 33 | */ |
||
| 34 | public function setDocumentUrl($document_url) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return mixed |
||
| 43 | */ |
||
| 44 | public function getMimeType() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param mixed $mime_type |
||
| 51 | * |
||
| 52 | * @return $this |
||
| 53 | */ |
||
| 54 | public function setMimeType($mime_type) |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @return mixed |
||
| 63 | */ |
||
| 64 | public function getDescription() |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @param mixed $description |
||
| 71 | * |
||
| 72 | * @return $this |
||
| 73 | */ |
||
| 74 | public function setDescription($description) |
||
| 80 | } |
||
| 81 |