@@ 151-153 (lines=3) @@ | ||
148 | $data['reply_markup'] = $reply_keyboard_markup; |
|
149 | ||
150 | $data['text'] = 'Would you insert caption?'; |
|
151 | if ($this->conversation->notes['last_message_id'] != $message->getMessageId() && !($text == 'Yes' || $text == 'No')) { |
|
152 | $data['text'] = 'Would you insert a caption?' . "\n" . 'Type Yes or No'; |
|
153 | } |
|
154 | $result = Request::sendMessage($data); |
|
155 | break; |
|
156 | } |
|
@@ 192-194 (lines=3) @@ | ||
189 | $result = $this->sendBack(new Message($this->conversation->notes['message'], 'thisbot'), $data); |
|
190 | ||
191 | $data['text'] = 'Would you post it?'; |
|
192 | if ($this->conversation->notes['last_message_id'] != $message->getMessageId() && !($text == 'Yes' || $text == 'No')) { |
|
193 | $data['text'] = 'Would you post it?' . "\n" . 'Press Yes or No'; |
|
194 | } |
|
195 | $keyboard = [['Yes', 'No']]; |
|
196 | $reply_keyboard_markup = new ReplyKeyboardMarkup( |
|
197 | [ |