darkdarin / telegram-bot-sdk
SDK for work with Telegram Bot API
Package info
github.com/darkdarin/telegram-bot-sdk
Type:package
pkg:composer/darkdarin/telegram-bot-sdk
v0.4.1
2026-02-21 16:36 UTC
Requires
- php: 8.3.*|8.4.*|8.5.*
- darkdarin/serializer: ^1.4
- php-http/multipart-stream-builder: ^1.3
- psr-discovery/http-client-implementations: ^1.0
- psr-discovery/http-factory-implementations: ^1.0
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- psr/http-message: ^2.0
Requires (Dev)
- hyperf/di: ~3.0.0
- illuminate/support: ^12.0
- laravel/pint: ^1.1
- rector/rector: ^2.3
- roave/security-advisories: dev-latest
README
SDK for work with Telegram Bot API
Can be used standalone, and with Laravel 10 and Hyperf 3.0
This is an alpha version without full support for all API methods and all API objects.
Version Telegram Bot API: 6.9 (September 22, 2023)
Supported methods
- getUpdates (https://core.telegram.org/bots/api#getupdates)
- setWebhook (https://core.telegram.org/bots/api#setwebhook)
- deleteWebhook (https://core.telegram.org/bots/api#deletewebhook)
- getWebhookInfo (https://core.telegram.org/bots/api#getwebhookinfo)
- getMe (https://core.telegram.org/bots/api#getme)
- sendMessage (https://core.telegram.org/bots/api#sendmessage)
- forwardMessage (https://core.telegram.org/bots/api#forwardmessage)
- copyMessage (https://core.telegram.org/bots/api#copymessage)
- sendPhoto (https://core.telegram.org/bots/api#sendphoto)
- sendAudio (https://core.telegram.org/bots/api#sendaudio)
- sendDocument (https://core.telegram.org/bots/api#senddocument)
- sendVideo (https://core.telegram.org/bots/api#sendvideo)
- sendAnimation (https://core.telegram.org/bots/api#sendanimation)
- sendVoice (https://core.telegram.org/bots/api#sendvoice)
- sendVideoNote (https://core.telegram.org/bots/api#sendvideonote)
- sendMediaGroup (https://core.telegram.org/bots/api#sendmediagroup)
- sendLocation (https://core.telegram.org/bots/api#sendlocation)
- sendVenue (https://core.telegram.org/bots/api#sendvenue)
- sendContact (https://core.telegram.org/bots/api#sendcontact)
- sendPoll (https://core.telegram.org/bots/api#sendpoll)
- sendDice (https://core.telegram.org/bots/api#senddice)
- sendChatAction (https://core.telegram.org/bots/api#sendchataction)
- editMessageText (https://core.telegram.org/bots/api#editmessagetext)
- editMessageCaption (https://core.telegram.org/bots/api#editmessagecaption)
- editMessageLiveLocation (https://core.telegram.org/bots/api#editmessagelivelocation)
- stopMessageLiveLocation (https://core.telegram.org/bots/api#stopmessagelivelocation)
- editMessageReplyMarkup (https://core.telegram.org/bots/api#editmessagereplymarkup)
- stopPoll (https://core.telegram.org/bots/api#stoppoll)
- deleteMessage (https://core.telegram.org/bots/api#deletemessage)