Total Complexity | 6 |
Total Lines | 77 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | class EditMessageReplyMarkup extends AbstractMethod |
||
17 | { |
||
18 | const NAME = 'editMessageReplyMarkup'; |
||
19 | |||
20 | const RETURN_ENTITY = Message::class; |
||
21 | |||
22 | protected $chat_id; |
||
23 | |||
24 | protected $message_id; |
||
25 | |||
26 | protected $inline_message_id; |
||
27 | |||
28 | protected $supportedProperties = [ |
||
29 | 'chat_id' => false, |
||
30 | 'message_id' => false, |
||
31 | 'inline_message_id' => false, |
||
32 | 'reply_markup' => false |
||
33 | ]; |
||
34 | |||
35 | /** |
||
36 | * @return mixed |
||
37 | */ |
||
38 | public function getChatId() |
||
39 | { |
||
40 | return $this->chat_id; |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * @param mixed $chat_id |
||
45 | * |
||
46 | * @return $this |
||
47 | */ |
||
48 | public function setChatId($chat_id) |
||
49 | { |
||
50 | $this->chat_id = $chat_id; |
||
51 | |||
52 | return $this; |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * @return mixed |
||
57 | */ |
||
58 | public function getMessageId() |
||
61 | } |
||
62 | |||
63 | /** |
||
64 | * @param mixed $message_id |
||
65 | * |
||
66 | * @return $this |
||
67 | */ |
||
68 | public function setMessageId($message_id) |
||
69 | { |
||
70 | $this->message_id = $message_id; |
||
71 | |||
72 | return $this; |
||
73 | } |
||
74 | |||
75 | /** |
||
76 | * @return mixed |
||
77 | */ |
||
78 | public function getInlineMessageId() |
||
81 | } |
||
82 | |||
83 | /** |
||
84 | * @param mixed $inline_message_id |
||
85 | * |
||
86 | * @return $this |
||
87 | */ |
||
88 | public function setInlineMessageId($inline_message_id) |
||
95 |