English
Open in Telegram

ThreadAssalomu alaykum pythondan matritsaga oid 3 tacha misollar bor kim yordam beroladi

18 messages · –
•
Assalomu alaykum pythondan matritsaga oid 3 tacha misollar bor kim yordam beroladi
      1. Z
        c++ da o'rgganmadim vashe mazgi ekan tinchgina javada yooki pitonda yozib yuraveraman
        1. 4
          unchalik qiyin emas ekan
            1. 4
              #include <stdio.h> #include <tgbot/tgbot.h> int main() { TgBot::Bot bot("PLACE YOUR TOKEN HERE"); bot.getEvents().onCommand("start", [&bot](TgBot::Message::Ptr message) { bot.getApi().sendMessage(message->chat->id, "Hi!"); }); bot.getEvents().onAnyMessage([&bot](TgBot::Message::Ptr message) { printf("User wrote %s\n", message->text.c_str()); if (StringTools::startsWith(message->text, "/start")) { return; } bot.getApi().sendMessage(message->chat->id, "Your message is: " + message->text); }); try { printf("Bot username: %s\n", bot.getApi().getMe()->username.c_str()); TgBot::TgLongPoll longPoll(bot); while (true) { printf("Long poll started\n"); longPoll.start(); } } catch (TgBot::TgException& e) { printf("error: %s\n", e.what()); } return 0; }
                1. 4
                  fayllarni yuklab o'rnatishiz kerak
                    1. 4
                      ha men hozir o'rnatib chiqdim
          1. 4
            algoritm hammasida bir xil ishlaydi
CC++ vs PythonC++ vs Python@cpp_vs_python · group · Tech
114members39 409messages in the index
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count