darkdarin / telegram-bot-sdk
SDK for work with Telegram Bot API
Installs: 306
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: 8.2.*|8.3.*
- darkdarin/serializer: ^1.3
- 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: ^10.0
- laravel/pint: ^1.1
- 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)