This Telegram bot provides quick access to the Telegram Bot API documentation. Users can search for API methods and types using inline queries, and the bot will return detailed information about the specified API elements.
Demo Bot: @BotApiDocsBot
- Inline search for API methods and types.
- Detailed descriptions, return types, and required fields for each method and type.
- Easy access to the official documentation.
- Go version 1.23 or higher.
- A Telegram bot token obtainable from BotFather.
Follow the instructions to install Go on your system: Go Installation Guide.
Easy Way:
git clone https://github.com/udhos/update-golang dlgo && cd dlgo && sudo ./update-golang.sh && source /etc/profile.d/golang_path.sh
Exit the terminal and open it again to check the installation.
Verify the installation by running:
go version
git clone https://github.com/AshokShau/BotApiDocs&& cd BotApiDocs
Copy the sample environment file and edit it as needed:
cp sample.env .env
vi .env
go build
./BotApiDocs
- Start a chat with your bot on Telegram. Once the bot is running, you can search for API methods and types.
- Use the inline query feature by typing
@YourBotUsername <your_query>
to search for methods or types. - The bot will return relevant results with detailed descriptions.
Contribution Guidelines
Contributions are welcome! Here's how you can help:
- Fork the repository.
- Clone your forked repository to your local machine.
git clone https://github.com/your-username/BotApiDocs.git cd BotApiDocs
- Create a new branch for your changes.
git checkout -b feature-branch
- Make your changes and commit them with a descriptive message.
git add . git commit -m "Description of your changes"
- Push to your branch and submit a pull request.
Please ensure your code follows the project's coding standards and includes appropriate tests.
This project is licensed under the MIT License—see the LICENSE file for details.
-
Ashok Shau: For creating and maintaining this project, which provides a solid foundation for building Telegram bots.
-
PaulSonOfLars: For the invaluable GoTgBot library, which simplifies Telegram bot development in Go, and for the API specification that serves as a reference for bot methods and types.