From c0727e9039c37fe60f20429550b30e2e78f7b48d Mon Sep 17 00:00:00 2001 From: Bahriddin Mo'minov <64766486+MrMuminov@users.noreply.github.com> Date: Mon, 27 Jul 2020 10:34:48 +0500 Subject: [PATCH] Some chnages --- example.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/example.php b/example.php index 7b38386..fc9e0e9 100644 --- a/example.php +++ b/example.php @@ -41,10 +41,10 @@ $telegram->sendMessage('Yaxshi sizchi?'); } elseif ($data->text == 'qandaysiz') { $telegram->sendMessage('Yaxshi sizchi?'); -} elseif ($data->text == 'rasim yubor' || $data->text == 'rasim jonat') { - $telegram->sendPhoto('https://www.fotor.com/ru/loopBannerImg/ru-homeloop2.jpg', 'senga rasim kerakmi ol ana bolmasa'); -} elseif ($data->text == 'rasim yuboring' || $data->text == 'rasim jonating') { - $telegram->sendPhoto('https://cdn.pixabay.com/photo/2018/01/14/23/12/nature-3082832__340.jpg', 'Madaniyat bilan soraganingiz uchun raxmat :)'); +} elseif ($data->text == 'rasm yubor' || $data->text == 'rasm jonat') { + $telegram->sendPhoto('https://www.fotor.com/ru/loopBannerImg/ru-homeloop2.jpg', 'senga rasm kerakmi? ol ana bolmasa'); +} elseif ($data->text == 'rasm yuboring' || $data->text == 'rasim jonating') { + $telegram->sendPhoto('https://cdn.pixabay.com/photo/2018/01/14/23/12/nature-3082832__340.jpg', 'Madaniyat bilan so\'raganingiz uchun rahmat :)'); } else { - $telegram->sendMessage('Kechirasiz meni soz boyligim chegaralangan va men boshqa soz bilmayman:( menga faqat "salom", "qalesan yoki qalesiz", "rasim yubor yoki rasim yuboring" desangiz javob berishim mumkin'); -} \ No newline at end of file + $telegram->sendMessage('Kechirasiz meni so\'z boyligim chegaralangan va men boshqa so\'z bilmayman:( menga faqat "salom", "qalesan yoki qalesiz", "rasm yubor yoki rasm yuboring" desangiz javob berishim mumkin'); +}