简体中文
Telegram

讨论串Assalomu alaykum pythondan matritsaga oid 3 tacha misollar bor kim yordam beroladi

18 条消息 · –
•
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
                  照片
                  点击显示
                2. 4
                  fayllarni yuklab o'rnatishiz kerak
                    1. 4
                      ha men hozir o'rnatib chiqdim
          1. 4
            algoritm hammasida bir xil ishlaydi

来自搜索索引的公开信息流 ChatCrawler ——“公开 Telegram 的 Google”;随着该社群被抓取而更新。 时间为 UTC。

仅限公开内容,使用 Telegram 官方 API。 关于 · 常见问题 · 索引限制 · 移除页面 · 目录 · 搜索 · 计算方法