Skip to content

Setup Guide

mgp25 edited this page Aug 29, 2015 · 1 revision

##Setup guide

How to get the token?

Start a new conversation with @BotFather, use the /newbot command to create a new bot. The BotFather will ask you for a name and username, then generate an authorization token for your new bot.

botfather

The token is a string along the lines of 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw that will be required to authorize the bot and send requests to the Bot API.

Dependencies

  • Requires php >= 5.5
  • cURL ext. required

Composer package available.

$ composer require mgp25/telegram-bot-api
Clone this wiki locally