How to Create a Telegram Bot and Send Message via bot API

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • Learn how to create a Telegram Bot and get a bot token. See how to add that bot to a Telegram group, and how to find the chat ID. Full demo on on how to use your bot token and chat ID to send Telegram message via the bot API.
    Corresponding Techthoughts write-up:
    www.techthough...
    PoshGram - a PowerShell module for the Telegram bot API:
    • PoshGram - a PowerShel...

КОМЕНТАРІ • 64

  • @SrinivasaRajuVuppalapati
    @SrinivasaRajuVuppalapati Рік тому +1

    I have seen many documentation but the way he explained is spot on what i required. Thanks

  • @bernardw2656
    @bernardw2656 Рік тому

    I was wondering is there a way to use the API token bot to script out doing auto copy from group to group and excluding what you don't want to be copied?

  • @saptarshimukherjee8447
    @saptarshimukherjee8447 Рік тому

    Thanks for so well detailed tutorial it would help me in one of my projects for sure

  • @ymfeyza
    @ymfeyza 3 роки тому +1

    I'd like to send messages automated via telegram bot. - but without having a channel or group. is that possible?

  • @ayDTWO
    @ayDTWO 4 роки тому +2

    Hi TechThoughts, any chance you can help create telegram bot to edit and forward telegram messages to telegram contacts, groups, channels and emails? Thank you.

  • @bojam02
    @bojam02 5 років тому +11

    great video would be nice to do a series on some bot for Telegram with examples of interactions we can do.
    You explanation are very clear ! keep it up

  • @BobbyCycles
    @BobbyCycles 5 років тому +2

    I created a bot and got a chat id. But I don't know where am I supposed to fill/put in this chat id in telegram preferences/settings?

  • @adibhide9019
    @adibhide9019 5 років тому +3

    It's not working for me, please can you tell me how to get chat id from username?!

  • @TGFTTGFFGTTRUEFHROWHEF
    @TGFTTGFFGTTRUEFHROWHEF 3 роки тому +1

    hello sir is there anyway to remove the subscriber command in botfather ? so strangers cant subscribe to our bots. If they subscribe , they can see the content inside (in bot name) send message of the bots , i couldn find any answer , even telegram support ignored my mails for 3 years. I had saw some bots professional users used they don't have subscribe command on their bots i dont know how they do that?! if strangers clicked " /START " in bots that created at fatherbot they will auto subscribe ( they can turnoff but mostly they don''t want to ).
    or telegram still not release new patch update ? , for private bot telegram that can only be access by real owner of the bots , so strangers can't see what we posted inside the bots.

  • @jmsfer
    @jmsfer 4 роки тому +5

    Useful information and simple !! thank you

  • @MarianoGoni
    @MarianoGoni 5 років тому +1

    Can you send a private message from the bot to one of the users in the group?

  • @bcazf5222
    @bcazf5222 Рік тому

    very helpful man. thanks

  • @sheilanelson89
    @sheilanelson89 3 роки тому

    So if I dont have a laptop or computer I still cant do anything. Python will not open on my phone regardless of what version I download.

  • @zoecheetham2979
    @zoecheetham2979 2 роки тому

    Ive connected my telegram to desktop. I searched in my contacts. But nothing came up. Where do i find it?

  • @eduardoarboleda11
    @eduardoarboleda11 6 років тому +2

    I have a question. What if i do not have the chat Id for the user?

  • @vince8093
    @vince8093 3 роки тому +1

    how can i send message to a person instead of groups.

  • @henryokafor6036
    @henryokafor6036 4 роки тому +1

    Very useful. Is it possible to create a scheduled message also using this commands?

  • @KAISAR-Muquarab
    @KAISAR-Muquarab 3 роки тому +2

    great information and simple !! thank you a lot.

  • @Scrapewithbots
    @Scrapewithbots 5 років тому +2

    great video. Too much information at a single place. subscribing to you now

  • @kpakfar
    @kpakfar 6 місяців тому

    I did the same bit get: {"ok":false,"error_code":401,"description":"Unauthorized"}

  • @kituraut8830
    @kituraut8830 4 роки тому

    hi can you tell me how to contact admin of telegram owner who doesnt have his details for message sending,.

  • @harunrazak7764
    @harunrazak7764 3 роки тому

    Can we send a message to another person, not a group.

  • @neo217041
    @neo217041 5 років тому +1

    Great video. I have a question, how do you set it up where you can send emails to your bots API?

    • @arlandmv4053
      @arlandmv4053 4 роки тому

      why whould you send emails to a bot? or do you mean you want the bot to send emails?

  • @himeshwaghela5510
    @himeshwaghela5510 2 роки тому

    How do I make the bot tag and reply to a message

  • @Akio024
    @Akio024 4 роки тому

    Hi, i am searching a bot that can copy members of groups can you help me?

  • @celestethomson17
    @celestethomson17 3 роки тому

    I have copied the token and the chat id but I think something is missing or wrong

  • @JJMiddleditch
    @JJMiddleditch 9 місяців тому

    Thanks for this.

  • @ecokindly4680
    @ecokindly4680 4 роки тому +1

    sadly did not work for me, i could not figure out how he got the black window to place the numbers he doe snot explain. Also I was expecting to see how to add the rules :(

    • @wh0d1s-l
      @wh0d1s-l 4 роки тому

      i think he was using telegram's messaging app

    • @raulcasquinha
      @raulcasquinha 4 роки тому +1

      Use visual Studio Code app to type the things

  • @daquanfreeman6235
    @daquanfreeman6235 2 роки тому

    This was so helpful

  • @hisagames4870
    @hisagames4870 4 роки тому

    hi, i try this great tutorial,
    but i got stuck with this result :
    {"ok":false,"error_code":400,"description":"Bad Request: message text is empty"}
    i already do step by step but don't success and get that result,
    can you give me some tips or information?
    thanks before.

    • @hisagames4870
      @hisagames4870 4 роки тому

      poor me looks like i just typo, many many thanks for tutorial

  • @joliluddin17
    @joliluddin17 10 місяців тому

    not fix {"ok":false,"error_code":403,"description":"Forbidden: bot can't send messages to bots"}

  • @muunshipmuunship5760
    @muunshipmuunship5760 4 роки тому

    How can I listen to the channel messages?

  • @G.V.S.RaghuVarma
    @G.V.S.RaghuVarma 5 років тому +2

    Thank you alot you saved my day :)

  • @Nikhil-tw4nk
    @Nikhil-tw4nk 3 роки тому

    How to integrate api with telegram channel

  • @ka8istekala681
    @ka8istekala681 6 років тому

    can i add the bot to a group channel that i am not the admin?

  • @celestethomson17
    @celestethomson17 3 роки тому

    Please help with this code something is wrong anyone?

  • @adamsmith8213
    @adamsmith8213 5 років тому

    how can i schedule messages via bot ?

  • @frozengamer3454
    @frozengamer3454 Рік тому

    how do i get that file

  • @testtesting6856
    @testtesting6856 5 років тому

    I got my token how can i get the rest a web request?

  • @elviskudo
    @elviskudo 4 роки тому

    work for me, thanks man, youre great

  • @mobilecommunity548
    @mobilecommunity548 5 років тому

    Please tell me how to create duplicate file remove bot in telegram super group

  • @LathaPadhmanabhaLathathi-zz6md

    Thanks brother 😢😢😢😢

  • @pippopeppe83
    @pippopeppe83 4 роки тому

    Thanks a lot very useful video and article, very well done

  • @JamesT65
    @JamesT65 3 роки тому

    thanks this allowed me to test my bot to see if its working ok

  • @gabrielbrandaoscarpati2897
    @gabrielbrandaoscarpati2897 6 місяців тому

    great video

  • @celestethomson17
    @celestethomson17 3 роки тому

    {"ok":false,"error_code":400,"description":"Bad Request: chat not found"}
    my error i get

    • @thong0605
      @thong0605 3 роки тому

      Same to me, I don't know why the chat_id not found

  • @wrdzcs3546
    @wrdzcs3546 Рік тому

    اخدملنا كيفية فتح سيرفر فليكسي تيليجرام

  • @damzesidn
    @damzesidn 3 роки тому

    thank you so much

  • @xo25reo
    @xo25reo 3 роки тому +1

    clear explanation and really simple to follow. thanks!

  • @Boz9625
    @Boz9625 4 роки тому

    thanks you bro

  • @Hahshsdihsh8
    @Hahshsdihsh8 3 роки тому

    Another time make new account on telegram why you need to waste your time to add blue effect 😂.

  • @jezorama
    @jezorama 4 роки тому +1

    Top video.

  • @maldonadom04
    @maldonadom04 4 роки тому

    GRACIAS ME AYUDO CON PRTG

  • @ineye
    @ineye 3 роки тому

    Awersome

  • @MaioniTTo
    @MaioniTTo 3 роки тому

    vc é foda irmao

  • @scanwizz5428
    @scanwizz5428 5 років тому

    Hi

  • @ishaanchandrachud4702
    @ishaanchandrachud4702 2 роки тому

    t