Download the PHP package matriphe/telegrambot without Composer
On this page you can find all versions of the php package matriphe/telegrambot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download matriphe/telegrambot
More information about matriphe/telegrambot
Files in matriphe/telegrambot
Download matriphe/telegrambot
More information about matriphe/telegrambot
Files in matriphe/telegrambot
Please rate this library. Is it a good library?
Informations about the package telegrambot
Telegram Bot PHP Library
PHP Library for Telegram Bot API.
Telegram Bot API
First you must have a Telegram Bot. To do so, just read the documentation on Telegram website.
TL;DR
- Add @BotFather to start conversation.
- Type
/newbot
and @BotFather will ask the name for your bot. - Choose a cool name, for example
The Cool Bot
and hit enter. - Now choose a username for your bot. It must end in bot, for example
CoolBot
orCool_Bot
. - If succeed, @BotFather will give you API key to be used in this library.
Installation
The easiest way to install is using Composer.
Usage
For example, you can use the library like this:
All returned value are in array.
Function List
Based on Telegram Bot API's method.
getMe()
sendMessage()
forwardMessage()
sendPhoto()
sendAudio()
sendDocument()
sendSticker()
sendVideo()
sendLocation()
sendChatAction()
getUserProfilePhotos()
getUpdates()
setWebhook()
Please read Telegram Bot API's method for details.
All versions of telegrambot with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
~5.3
The package matriphe/telegrambot contains the following files
Loading the files please wait ....