-
Notifications
You must be signed in to change notification settings - Fork 3
Telegram Bot
The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram.
User's Interaction : All queries to the Telegram Bot API must be served over HTTPS and need to be presented in this form: https://api.telegram.org/bot/METHOD_NAME. Like this for example:
https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/getMe
support GET and POST HTTP methods. Also, supports four ways of passing parameters in Bot API requests:
- URL query string
- application/x-www-form-urlencoded
- application/json (except for uploading files)
- multipart/form-data (use to upload files)
API : There are two mutually exclusive ways of receiving updates for your bot — the getUpdates(This method is for receiving incoming updates using long polling (wiki). An Array of Update objects is returned) method on one hand and Webhooks (A webhook (also called a web callback or HTTP push API) is a way for an app to provide other applications with real-time information) on the other. Incoming updates are stored on the server until the bot receives them either way, but they will not be kept longer than 24 hours. The API contains many available types. All types used in the Bot API responses are represented as JSON-objects. All methods in the Bot API are case-insensitive(support GET and POST HTTP methods). Use either URL query string or application/json or application/x-www-form-urlencoded or multipart/form-data for passing parameters in Bot API requests.
- Home
- Rules and Guidelines
- Push Procedure
- Setup Travis CI
- Implementing GitHub issues in Eclipse
- Importing Cleanup Profile
- Shared Documents
- Team Meetings & Hours Schedule
- Ideas For the Project
- Sprints