Português
Abrir no Telegram

TópicoAssalomu alaykum pythondan matritsaga oid 3 tacha misollar bor kim yordam beroladi

18 mensagens · –
•
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. Z
                Foto
                clique para mostrar
                tg botni ko'rmayapti nima qisam bo'ladi shuyerini
                1. 4
                  Foto
                  clique para mostrar
                2. 4
                  fayllarni yuklab o'rnatishiz kerak
                    1. 4
                      ha men hozir o'rnatib chiqdim
                3. 4
                  dev cpp ishlamaydi
          1. 4
            algoritm hammasida bir xil ishlaydi

Um feed público aberto do índice de busca ChatCrawler — “o Google do Telegram público”; atualizado à medida que a comunidade é rastreada. Horários em UTC.

Somente conteúdo público, API oficial do Telegram. Sobre · Perguntas frequentes · Limites do índice · Remover uma página · Catálogo · Busca · Como calculamos