@@ 184-186 (lines=3) @@ | ||
181 | } elseif (in_array($notes['message_type'], ['video', 'photo'], true)) { |
|
182 | ||
183 | $text = 'Would you like to insert a caption?'; |
|
184 | if (!$text_yes_or_no && $notes['last_message_id'] !== $message->getMessageId()) { |
|
185 | $text .= PHP_EOL . 'Type Yes or No'; |
|
186 | } |
|
187 | ||
188 | $result = $this->replyToChat( |
|
189 | $text, |
|
@@ 233-235 (lines=3) @@ | ||
230 | $data['reply_markup'] = $yes_no_keyboard; |
|
231 | ||
232 | $data['text'] = 'Would you like to post it?'; |
|
233 | if (!$text_yes_or_no && $notes['last_message_id'] !== $message->getMessageId()) { |
|
234 | $data['text'] .= PHP_EOL . 'Type Yes or No'; |
|
235 | } |
|
236 | $result = Request::sendMessage($data); |
|
237 | } |
|
238 | break; |