skip to Main Content

can I use some methods from here – Telegram API for my Telegram Bot. I am asking because I need in a methods which no present in Telegram Bot Api. If yes, please write How I can to do that.

2

Answers


  1. No, you can’t. Those methods are for Telegram Clients, not for bots. Bots can only use the methods listed here.

    Login or Signup to reply.
  2. As the other contributor has already answered, you can’t normally use Telegram API inside bots.
    But you can actually leverage some libraries like (MadelineProto (php), Pyrogram (python), Telethon (python), etc…) to create a userbot instance behind the scene and the bot can delegate the tasks that requires Telegram API to the userbot in the background.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search