BotFather

BotFather: They call me the Botfather, I can help you create and set up Telegram bots.

/newbot – Create a new bot.
/token – Generate authorization token.
/revoke – Revoke bot access token.
/setname – Change a bot’s name.
/setdescription – Change bot description.
/setabouttext – Change bot about info.
/setuserpic – Change bot profile photo.
/setcommands – Change bot commands list.
/setjoingroups – Can your bot be added to groups?
/setprivacy – What messages does your bot see in groups?
/deletebot – Delete a bot.
/cancel – Cancel the current operation.


Please read this manual before we begin: https://core.telegram.org/bots


Telegram Geeks Blog

Join Telegram Geeks Channel and stay tuned to latest news & more!

 


Official Bots Channel telegram

Join our Official Bots Channel on telegram.

   

70 Comments

  1. Avatar
    Arya
    01/09/2015

    How we can delete one command in botfather ,for exp I set one command for rest my bot and :/command2 – test
    How I can delete this command?!??

    Reply
    • Bots 4 Telegram
      Bots 4 Telegram
      01/09/2015

      Hi Arya! Don’t worry about that, just go to /setcommands once again and write the FINAL list you want again.

      For example if you set up these 2 commands:

      /weather – get weather
      /time – get time

      And you want to delete afterwords the /time command, you just have to write:

      /weather – get weather

      BotFather will automatically replace the old command list for the new one. So, you don’t delete, you just rewrite the final command list.

      Hope it helped you 😉

      Reply
      • Avatar
        fatimah
        16/09/2015

        Hi
        I set my commands one by one
        How I can delete theme?
        or don’t show them in group?

        Reply
        • Bots 4 Telegram
          Bots 4 Telegram
          17/09/2015

          Hi fatimah,
          Don’t worry about that, just go to /setcommands and write the FINAL list you want again (type the whole list and then press SEND).

          For example if you set up these 2 commands:

          /weather – get weather
          /time – get time

          And you want to delete afterwords the /time command, you just have to write:

          /weather – get weather

          BotFather will automatically replace the old command list for the new one. So, you don’t delete, you just rewrite the final command list.

          Hope it helped you!

          Reply
          • Avatar
            mahdi
            28/09/2015

            i set some commands and now i don’t need them! i want no command! how can i delete all command that i set before?

          • Bots 4 Telegram
            Bots 4 Telegram
            06/10/2015

            I wrote this to a user previously:

            “Hi fatimah,
            Don’t worry about that, just go to /setcommands and write the FINAL list you want again (type the whole list and then press SEND).

            For example if you set up these 2 commands:

            /weather – get weather
            /time – get time

            And you want to delete afterwords the /time command, you just have to write:

            /weather – get weather

            BotFather will automatically replace the old command list for the new one. So, you don’t delete, you just rewrite the final command list.”

            –> So if you don’t write anything there will be no bot commands (I think, have to try yet, lol).
            Thanks.

    • Avatar
      عادل
      22/03/2016

      Cf Jg

      Reply
  2. Avatar
    azade
    09/10/2015

    Hello dear,
    I want to know how can I make a command that when i click on it,then show another keyboard with different commands?like pages and clicking in websites.
    Thanks

    Reply
    • Bots 4 Telegram
      Bots 4 Telegram
      10/10/2015

      Hi Azade,

      Are you coding or have you built your Bot with Paquebot, Manybot etc.?

      Reply
  3. Avatar
    Farhad
    11/10/2015

    When I want to delete one bot it will go to black lists please help to how to delete bot from my telegram

    Reply
  4. Avatar
    Luvish
    19/10/2015

    how can i make my bot work in groups…. i made my bot from Paquebot.
    Its working fine when interacted with it but it doesnt work in groups…. might be i dont know right commands … can you check it out ..??
    my bot name @luv_isshbot

    Reply
    • Bots 4 Telegram
      Bots 4 Telegram
      03/11/2015

      HI Luvish, you have to activate this option through @BotFather.

      It is called /setjoingroups

      Hope it works

      Reply
  5. Avatar
    AnarChrist
    28/10/2015

    Hi. Why if I try to create my list botfather replies “Unrecognized command. Say what?” ?

    Reply
    • Bots 4 Telegram
      Bots 4 Telegram
      03/11/2015

      Are you following BotFather instructions?

      Reply
  6. Avatar
    OTR
    17/11/2015

    I have a little problem. I made a bot that gives you a random number between 0 an 100.
    For me alone it works great but when i creat a group, the bot dont work. he ignor all commands.
    What I have to change to fix this problem?
    by the way, I created the bot just with Bot-father. there are not big coding in the background.

    Reply
    • Bots 4 Telegram
      Bots 4 Telegram
      18/11/2015

      Check out the BotFather commands and look for this one:

      /setjoingroups

      You have to set on this command in order to let your Bot work properly IN the group. If this setting is not activated the Bot does not work in the group, probably the problem is there 😉

      Reply
  7. Avatar
    Javadk2
    09/12/2015

    Hi
    How can make welcom text??
    Forexample when a new user join to bot, and then press start, show a custom text.

    Reply
  8. Avatar
    Mjs djsilva
    31/12/2015

    Como faço para criar um bot
    Eu não tenho computador e nem sou um desenvolvendo

    Reply
  9. Avatar
    JHGouveia
    03/02/2016

    Is it possible to change a bots “username”? Example: if I have named a bot GoogleTest_bot, and now want to change it to Google_bot. Botfather /setname changes just the visible name, not the username (@username_bot). Thanks.

    Reply
    • Avatar
      Saeed
      20/03/2016

      I have the same problem. Have you found any solution? If yes, please kindly advise me too. Thank you.

      Reply
  10. Avatar
    maryam
    19/02/2016

    how to return main menu from several sub menu?

    Reply
  11. Avatar
    jhon
    01/03/2016

    hi there
    how can i remove the first mesege from botfather in starting option
    that say : “do you want to create ypur telegram bot? kilik on this link… ”
    sorry bot i dont want to show this messege

    Reply
  12. Avatar
    jhon
    01/03/2016

    please send it to my mail. thanks alot

    Reply
  13. Avatar
    Mary
    05/03/2016

    I have the same problem like Farhad, When I want to delete one bot it will go to black lists please help to how to delete bot from my telegram

    Reply
  14. Avatar
    Mary
    05/03/2016

    And I have a question, can a bot hack my cellphone? I mean can it collect and steal my passwords and private information? I received a message from a friend about a bot and I opened(started) that bot but I’m not sure if it is secure and safe or what is its purpose. I’m really worried.

    Reply
  15. Avatar
    avghh
    06/03/2016

    how can i add a command in my bot to select a random number between number A and number B?

    Reply
  16. Avatar
    Amir
    09/03/2016

    Hi , Is it possible that bot join to channels automatically ? I mean search content of channels and if it is desire channel join to it ?
    I also look at following thread but as I comment there I want to automatically join to channels.

    http://stackoverflow.com/questions/33126743/how-do-i-join-my-bot-to-the-channel

    Reply
  17. Avatar
    Aanchal Saroha
    12/03/2016

    is this possible to send the content to group? from bot automatically

    Reply
    • Avatar
      Ramin
      13/08/2016

      hi
      this is possible to sent the content to group from bot
      if you want how to call me
      this is my telegram username => @Ramin_SSS

      Reply
  18. Avatar
    Sad
    15/03/2016

    My Bot had deleted, after I delete my telegram account,hiw can I back that?

    Reply
  19. Avatar
    Iman
    25/03/2016

    Hi

    i added a bot (@asaaBot) to this Group: ( Official iranian Aviation ) about 1 year ago.
    but now bot is sending a command /stop /start repeatedly.
    I remove the Bot from group but bot send commands again
    I remove the Bot completely by BotFather Delete Command, But it is sending again….

    Users are leaving from group

    please help.

    Reply
  20. Avatar
    Sirvankord
    25/03/2016

    Botfather

    Reply
  21. Avatar
    A.Noor
    30/03/2016

    Hi
    how to remove a (bad) bot from group by administrator.
    its error message is :

    Method: messages.deleteChatUser
    Url: N/A
    Result: {“_”:”rpc_error”,”error_code”:400,”error_message”:”USER_ID_INVALID”}
    Stack: g/u@https://web.telegram.org/js/app.js:29:4512
    g/_/<@https://web.telegram.org/js/app.js:29:5813
    l@https://web.telegram.org/js/app.js:13:12014
    c/<@https://web.telegram.org/js/app.js:13:12186
    fn/this.$get</m.prototype.$eval@https://web.telegram.org/js/app.js:13:19588
    fn/this.$get</m.prototype.$digest@https://web.telegram.org/js/app.js:13:18015
    fn/this.$get</m.prototype.$evalAsync/<@https://web.telegram.org/js/app.js:13:19677
    a@https://web.telegram.org/js/app.js:12:3093
    at/u.defer/n<@https://web.telegram.org/js/app.js:12:4549
    n@https://web.telegram.org/js/app.js:3:16924

    for blocking user occurs error too:
    Method: contacts.block
    Url: N/A
    Result: {"_":"rpc_error","error_code":400,"error_message":"CONTACT_ID_INVALID"}
    Stack: g/u@https://web.telegram.org/js/app.js:29:4512
    g/_/<@https://web.telegram.org/js/app.js:29:5813
    l@https://web.telegram.org/js/app.js:13:12014
    c/<@https://web.telegram.org/js/app.js:13:12186
    fn/this.$get</m.prototype.$eval@https://web.telegram.org/js/app.js:13:19588
    fn/this.$get</m.prototype.$digest@https://web.telegram.org/js/app.js:13:18015
    fn/this.$get</m.prototype.$evalAsync/<@https://web.telegram.org/js/app.js:13:19677
    a@https://web.telegram.org/js/app.js:12:3093
    at/u.defer/n<@https://web.telegram.org/js/app.js:12:4549
    n@https://web.telegram.org/js/app.js:3:16924

    please help

    Reply
  22. Avatar
    university
    11/04/2016

    It’s in fact very difficult in this active life to listen news on
    TV, therefore I simply use world wide web for that reason, and get the hottest information.

    Reply
  23. Avatar
    Caio Farias
    10/05/2016

    Hello! Someone could tell me if this bot is malfunctioning?
    Thanks.

    Reply
  24. Avatar
    Asimov
    20/05/2016

    Hi,
    I changed the name and the picture of a bot with /setname and /setpic, but still I see the old name and old picture in chat. Is there anything else I need to do?

    Reply
  25. Avatar
    Hossein
    24/05/2016

    Hello
    I want to write a command that get the group members message and write them to an excell file.can I do this by telegram but?
    Thank you for your help.

    Reply
  26. Avatar
    Vincent
    26/05/2016

    Hello, I’m having an issue with making the bot send a greeting message to new members of the group. Any assistance would be great! Thank You, Vincent

    Reply
  27. Avatar
    Aria
    27/05/2016

    Hi.
    How can i make a command on botfather?
    For example i type /wallpaper – get wallpaper but he say unrecognised command say what? How can i fix it?

    Reply
  28. Avatar
    Aria
    27/05/2016

    How can i make a command in botfather to send a photo.
    For example if i say /photo the bot send a photo to me?

    Reply
  29. Avatar
    Stefan
    02/06/2016

    Mafia Gangs Game:
    Help me congregate the most powerful Mafia Gang in Telegram! Follow the link:
    https://telegram.me/mafiagangsbot?start=I3C79CC1CD308D19
    to join and get ? cash for fast start!

    Reply
  30. Avatar
    Aleksei Belousov
    02/06/2016

    I made a bot @EmojiMovieBot
    But when I try to manage him and type its name to BotFather he says that “Invalid bot selected.”
    Where could be a problem?

    Reply
    • Avatar
      Gilson
      14/07/2016

      mee too

      Reply
    • Avatar
      ovuncmetin
      09/08/2016

      add @ at the begining of your bot name or use telegram mobile app

      Reply
      • Avatar
        Gal
        23/09/2016

        Thanks!

        Reply
  31. Avatar
    arjun gupta
    14/06/2016

    If i add commands using your format
    “/weather – gets weather ”
    I get
    BotFather, [13.06.16 16:27]
    Unrecognized command. Say what?
    please give the live example not the format

    Reply
  32. Avatar
    Rodrigo Salinas
    23/06/2016

    Hi, I am trying to add commands to my bot but I can’t achieve to add more than one command. There are some issue apparently with the separation of commands. It’s just a new line? If I add the new line the BotFather keeps saying:
    Sorry, the list of commands is invalid. Please use this format:

    command1 – Description
    command2 – Another description

    And I am using exactly that format, with new lines separating each command.

    Thanks in advance.

    Reply
    • Avatar
      Axel Adam
      10/11/2016

      Same issue. Is there already a solution?

      Reply
  33. Avatar
    fariba
    24/06/2016

    hi, how can i deactivate a bot.
    i don’t want delete it.

    Reply
  34. Avatar
    @Lordandroid_bot
    24/07/2016

    @Lordandroid_bot
    @Lordandroid_bot

    @Lordandroid_bot

    @Lordandroid_bot

    @Lordandroid_bot

    Reply
  35. Videosorveglianza casalinga via Telegram - Counter-Clock World
    07/08/2016

    […] gestore del Bot di Telegram (che sfrutta la libreria telepot) che da una parte riceve i messaggi della chat da parte degli […]

    Reply
  36. Avatar
    agus
    18/08/2016

    how to get my telegram id?

    Reply
  37. Avatar
    Jasurbek
    27/08/2016

    Hello. I read how to edit commands list by using Botfather. You said that: if you have 2 commands like /weather and /time then go botfather and write /setcommands and send only /weather. After that /time command will gone. MY QUESTION IS THAT: I want to delete all commands. There should be no commands! Please, help me if you can! Thank you for answer…

    Reply
    • Avatar
      Tay
      13/06/2017

      Did you find any solution?

      Reply
  38. Avatar
    Helio Matos
    18/09/2016

    Hi all, I belong to a Telegram channel and I would like to know how can I setup a bot to get the messages that I receive on channel A and auto forward to channel B, is that possible? Thank you
    Helio

    Reply
  39. Avatar
    Amin
    24/09/2016

    Hi,

    How can I delete a bot?

    Reply
  40. Avatar
    Mido Sasuke
    28/09/2016

    someone added my bot to his channel , how can i remove my bot from channel i’m not admin inn ?!!….

    Reply
    • Avatar
      Miguel Angel
      29/11/2016

      Hi Mido,

      In the bot father you have a command /setjoingroups in which you can set the status disable so that no one can add your bot to a group.

      Reply
  41. Avatar
    juegos friv
    27/10/2016

    It’s amazing to pay a quick visit this website and reading the views of all colleagues about this post, while I am also eager of getting experience.

    Reply
  42. Avatar
    omr
    05/11/2016

    /newbot

    Reply
  43. Avatar
    Hawk Whitson
    30/01/2017

    Hi to everyone! Who can answer me, how to work with /setcommands? I’m sending everything, but botfather says: unrecognized command, say what ? And what I should do ?

    Reply
    • Avatar
      sanych33
      18/04/2017

      A command must be exists in the your bot and need send a list of commands without slash (‘/’)
      Example:

      mycommand – it’s my first command
      mysecond – it’s my second command

      Reply
  44. Avatar
    benyamin
    01/02/2017

    I wanna bot???

    Reply
  45. Avatar
    Pankaj
    11/02/2017

    How to write an API to send command to BotFather? It it possible?

    Reply
  46. Avatar
    maede
    31/03/2017

    Madeh

    Reply
  47. Avatar
    Andreu
    04/05/2017

    I have created a bot and would like to know how to add commands from a php file. Thanks

    Reply
  48. Avatar
    Rossella Caneschi
    27/05/2017

    How can I remove the arrows after the first message in the menu?

    I would like to send a screen but I can not… this my bot :

    @BinariaRapidabot

    Reply
  49. Avatar
    Dragaa
    29/05/2017

    Hello,
    I have a normal group butler in my group.. How do i set up this group butler that it will deleted or ban the people who sending links which starts with https://t.me/ and how do i set it up that 2 group links are allowed to send in the group! pls help

    Reply
  50. Avatar
    Karim Mohammadi
    07/06/2017

    Hi. is there any way to find all channels that my personal bot is joined to it?

    Reply
  51. Avatar
    korede wise
    11/06/2017

    Hi, i dont know why but i cant seem to access the BotFather Link why is that?

    Reply

Leave a Reply