| 1 | <?php |
||
| 15 | class EditMessageCaption extends AbstractMethod |
||
| 16 | { |
||
| 17 | const NAME = 'editMessageCaption'; |
||
| 18 | |||
| 19 | const RETURN_ENTITY = Message::class; |
||
| 20 | |||
| 21 | protected $chat_id; |
||
| 22 | |||
| 23 | protected $message_id; |
||
| 24 | |||
| 25 | protected $inline_message_id; |
||
| 26 | |||
| 27 | protected $caption; |
||
| 28 | |||
| 29 | protected $supportedProperties = [ |
||
| 30 | 'chat_id' => false, |
||
| 31 | 'message_id' => false, |
||
| 32 | 'inline_message_id' => false, |
||
| 33 | 'caption' => false, |
||
| 34 | 'reply_markup' => false |
||
| 35 | ]; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return mixed |
||
| 39 | */ |
||
| 40 | public function getChatId() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param mixed $chat_id |
||
| 47 | * |
||
| 48 | * @return $this |
||
| 49 | */ |
||
| 50 | public function setChatId($chat_id) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return mixed |
||
| 59 | */ |
||
| 60 | public function getMessageId() |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @param mixed $message_id |
||
| 67 | * |
||
| 68 | * @return $this |
||
| 69 | */ |
||
| 70 | public function setMessageId($message_id) |
||
| 76 | |||
| 77 | /** |
||
| 78 | * @return mixed |
||
| 79 | */ |
||
| 80 | public function getInlineMessageId() |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @param mixed $inline_message_id |
||
| 87 | * |
||
| 88 | * @return $this |
||
| 89 | */ |
||
| 90 | public function setInlineMessageId($inline_message_id) |
||
| 96 | |||
| 97 | /** |
||
| 98 | * @return mixed |
||
| 99 | */ |
||
| 100 | public function getCaption() |
||
| 104 | |||
| 105 | /** |
||
| 106 | * @param mixed $caption |
||
| 107 | * |
||
| 108 | * @return $this |
||
| 109 | */ |
||
| 110 | public function setCaption($caption) |
||
| 116 | } |
||
| 117 |