{"id":19537445,"url":"https://github.com/amirrh6/litegram","last_synced_at":"2026-02-19T08:01:42.875Z","repository":{"id":261784587,"uuid":"883879767","full_name":"amirrh6/Litegram","owner":"amirrh6","description":"Lightweight PHP wrapper library for Telegram Bot API","archived":false,"fork":false,"pushed_at":"2025-03-04T18:09:09.000Z","size":619,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T06:42:04.698Z","etag":null,"topics":["php","php-library","php8","telegram","telegram-api","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/amirrh6/litegram","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amirrh6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-05T18:27:19.000Z","updated_at":"2025-03-04T18:09:12.000Z","dependencies_parsed_at":"2025-02-23T11:23:19.796Z","dependency_job_id":"11f0b4a9-147f-4f6b-a7f6-44e9a35ecbea","html_url":"https://github.com/amirrh6/Litegram","commit_stats":null,"previous_names":["amirrh6/litegram"],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/amirrh6/Litegram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirrh6%2FLitegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirrh6%2FLitegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirrh6%2FLitegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirrh6%2FLitegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amirrh6","download_url":"https://codeload.github.com/amirrh6/Litegram/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirrh6%2FLitegram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29608152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","php-library","php8","telegram","telegram-api","telegram-bot","telegram-bot-api"],"created_at":"2024-11-11T02:27:58.205Z","updated_at":"2026-02-19T08:01:42.855Z","avatar_url":"https://github.com/amirrh6.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Litegram\n\nLightweight PHP wrapper library for Telegram Bot API\n\nBot API version: [v7.11 (October 31, 2024)](https://core.telegram.org/bots/api#october-31-2024) - [Snapshot Link](https://web.archive.org/web/20241101091608/https://core.telegram.org/bots/api)\n\nPHP version: 8.3 - Unknown compatibility with earlier (8+) or later versions.\n\n* Minimal, Doesn't get in your way\n* Fully documented, Employs identical names for methods and classes as those found in the official API\n* Uses Guzzle as the HTTP client\n* Provides type hints for IDE autocompletion\n\nLitegram is still in early development stages so expect bugs and non-backward compatible changes.\n\nUse Github Issues for comments, bug reports and questions.\n\n# TODOs:\n\n- [ ] Full implementation of all types (classes) and methods\n- [ ] Provide built-in validations\n- [ ] Concurrent (bulk) requests: Has been experimentally implemented for some methods\n- [ ] Provide helper utilities (e.g. For formatting messages using HTML or Markdown) and builtin checks (e.g. Making sure the message text's length does not exceed 4096 chars)\n- [ ] Async requests\n- [ ] Better error handling (retry requests which failed due to network error etc ...)\n- [ ] Update to Bot API 8.0\n- [ ] Update to Bot API 8.1\n- [ ] Update to Bot API 8.2\n- [ ] Update to Bot API 8.3\n\n## Installation / Updating\n\n`composer require amirrh6/litegram dev-main`\n\n## Usage and Examples\n\n```php\nrequire_once './vendor/autoload.php';\n\n// --- --- --- --- --- --- ---\n\n$token = '0123456789:...';\n$some_chat_id = '-100...';\n\n// Options for Guzzle (https://docs.guzzlephp.org/en/stable/request-options.html)\n$global_guzzle_options = [\n    'timeout' =\u003e 10,\n    // 'proxy' =\u003e 'http://localhost:8118',\n];\n\n// --- --- --- --- --- --- ---\n\nuse Litegram\\SendMessageParams;\nuse Litegram\\InlineKeyboardMarkup;\nuse Litegram\\InlineKeyboardButton;\nuse Litegram\\TelegramMethods;\n\ntry {\n    // If the request doesn't fail, an object of type Litegram\\Message will be returned\n    $res = TelegramMethods::sendMessage(\n        token: $token,\n        params: SendMessageParams::build(\n            chat_id: $some_chat_id,\n            text: 'Test',\n            reply_markup: InlineKeyboardMarkup::build([\n                [\n                    InlineKeyboardButton::build('Hi', callback_data: 'say_hi'),\n                    InlineKeyboardButton::build('Bye', callback_data: 'say_bye'),\n                ],\n                [InlineKeyboardButton::build('Close', callback_data: 'close')],\n            ]),\n        ),\n        // If you don't pass a guzzle_options array to each method or pass an empty one (default parameter), Litegram will check for existence of a global variable\n        // named 'global_guzzle_options' and use it instead, if it exists.\n        guzzle_options: [\n            'timeout' =\u003e 5,\n            // 'proxy' =\u003e 'http://localhost:8118',\n        ]\n    );\n    var_dump('Result:', $res);\n\n} catch (\\Throwable $th) {\n    var_dump('Exception:', $th);\n}\n```\n\n[This file](https://github.com/amirrh6/litegram/blob/main/examples/example.php) provides usage example for some primary methods.\n\n## History\n\nOver a year ago, during my free time between university classes, I started working on another Telegram bot.\nI wanted to challenge myself by creating my own wrapper library for it. Although the bot project was eventually abandoned, I decided to revive the wrapper library, and here we are today.\n\n## License:\n\n[GPL 2.0 only](https://spdx.org/licenses/gpl-2.0-only.html)\n\n## Classes and methods:\n\n\\* Make sure you view this section on [Github](https://github.com/amirrh6/litegram?tab=readme-ov-file#implemented-classes-and-methods) rather than Packagist as it doesn't display checkmarks correctly.\n\n### Getting updates\n\n(4/4 methods implemented, 2/2 classes implemented)\n\n- [X] [Update](https://core.telegram.org/bots/api#update)\n- [X] [getUpdates](https://core.telegram.org/bots/api#getupdates)\n- [X] [setWebhook](https://core.telegram.org/bots/api#setwebhook)\n- [X] [deleteWebhook](https://core.telegram.org/bots/api#deletewebhook)\n- [X] [getWebhookInfo](https://core.telegram.org/bots/api#getwebhookinfo)\n- [X] [WebhookInfo](https://core.telegram.org/bots/api#webhookinfo)\n\n### Available types\n\n(71/150 classes implemented)\n\n- [X] [User](https://core.telegram.org/bots/api#user)\n- - `_get_full_name()` helper method is provided by Litegram\n- [X] [Chat](https://core.telegram.org/bots/api#chat)\n- [X] [ChatFullInfo](https://core.telegram.org/bots/api#chatfullinfo)\n- [X] [Message](https://core.telegram.org/bots/api#message)\n- [X] [MessageId](https://core.telegram.org/bots/api#messageid)\n- [X] [InaccessibleMessage](https://core.telegram.org/bots/api#inaccessiblemessage)\n- [X] [MaybeInaccessibleMessage](https://core.telegram.org/bots/api#maybeinaccessiblemessage) : InaccessibleMessage | Message\n- [X] [MessageEntity](https://core.telegram.org/bots/api#messageentity)\n- [X] [TextQuote](https://core.telegram.org/bots/api#textquote)\n- [X] [ExternalReplyInfo](https://core.telegram.org/bots/api#externalreplyinfo)\n- [X] [ReplyParameters](https://core.telegram.org/bots/api#replyparameters)\n- [X] [MessageOrigin](https://core.telegram.org/bots/api##messageorigin)\n- - [X] [MessageOriginUser](https://core.telegram.org/bots/api#messageoriginuser)\n- - [X] [MessageOriginHiddenUser](https://core.telegram.org/bots/api#messageoriginhiddenuser)\n- - [X] [MessageOriginChat](https://core.telegram.org/bots/api#messageoriginchat)\n- - [X] [MessageOriginChannel](https://core.telegram.org/bots/api#messageoriginchannel)\n- [ ] [PhotoSize](https://core.telegram.org/bots/api#photosize)\n- [ ] [Animation](https://core.telegram.org/bots/api#animation)\n- [ ] [Audio](https://core.telegram.org/bots/api#audio)\n- [ ] [Document](https://core.telegram.org/bots/api#document)\n- [ ] [Story](https://core.telegram.org/bots/api#story)\n- [ ] [Video](https://core.telegram.org/bots/api#video)\n- [ ] [VideoNote](https://core.telegram.org/bots/api#videonote)\n- [ ] [Voice](https://core.telegram.org/bots/api#voice)\n- [ ] [PaidMediaInfo](https://core.telegram.org/bots/api#paidmediainfo)\n- [X] [PaidMedia](https://core.telegram.org/bots/api#paidmedia)\n- - [X] [PaidMediaPreview](https://core.telegram.org/bots/api#paidmediapreview)\n- - [X] [PaidMediaPhoto](https://core.telegram.org/bots/api#paidmediaphoto)\n- - [X] [PaidMediaVideo](https://core.telegram.org/bots/api#paidmediavideo)\n- [X] [Contact](https://core.telegram.org/bots/api#contact)\n- [X] [Dice](https://core.telegram.org/bots/api#dice)\n- [X] [PollOption](https://core.telegram.org/bots/api#polloption)\n- [X] [InputPollOption](https://core.telegram.org/bots/api#inputpolloption)\n- [X] [PollAnswer](https://core.telegram.org/bots/api#pollanswer)\n- [X] [Poll](https://core.telegram.org/bots/api#poll)\n- [ ] [Location](https://core.telegram.org/bots/api#location)\n- [ ] [Venue](https://core.telegram.org/bots/api#venue)\n- [ ] [WebAppData](https://core.telegram.org/bots/api#webappdata)\n- [ ] [ProximityAlertTriggered](https://core.telegram.org/bots/api#proximityalerttriggered)\n- [ ] [MessageAutoDeleteTimerChanged](https://core.telegram.org/bots/api#messageautodeletetimerchanged)\n- [ ] [ChatBoostAdded](https://core.telegram.org/bots/api#chatboostadded)\n- [ ] [BackgroundFill](https://core.telegram.org/bots/api#backgroundfill)\n- [ ] [BackgroundFillSolid](https://core.telegram.org/bots/api#backgroundfillsolid)\n- [ ] [BackgroundFillGradient](https://core.telegram.org/bots/api#backgroundfillgradient)\n- [ ] [BackgroundFillFreeformGradient](https://core.telegram.org/bots/api#backgroundfillfreeformgradient)\n- [ ] [BackgroundType](https://core.telegram.org/bots/api#backgroundtype)\n- [ ] [BackgroundTypeFill](https://core.telegram.org/bots/api#backgroundtypefill)\n- [ ] [BackgroundTypeWallpaper](https://core.telegram.org/bots/api#backgroundtypewallpaper)\n- [ ] [BackgroundTypePattern](https://core.telegram.org/bots/api#backgroundtypepattern)\n- [ ] [BackgroundTypeChatTheme](https://core.telegram.org/bots/api#backgroundtypechattheme)\n- [ ] [ChatBackground](https://core.telegram.org/bots/api#chatbackground)\n- [ ] [ForumTopicCreated](https://core.telegram.org/bots/api#forumtopiccreated)\n- [ ] [ForumTopicClosed](https://core.telegram.org/bots/api#forumtopicclosed)\n- [ ] [ForumTopicEdited](https://core.telegram.org/bots/api#forumtopicedited)\n- [ ] [ForumTopicReopened](https://core.telegram.org/bots/api#forumtopicreopened)\n- [ ] [GeneralForumTopicHidden](https://core.telegram.org/bots/api#generalforumtopichidden)\n- [ ] [GeneralForumTopicUnhidden](https://core.telegram.org/bots/api#generalforumtopicunhidden)\n- [ ] [SharedUser](https://core.telegram.org/bots/api#shareduser)\n- [ ] [UsersShared](https://core.telegram.org/bots/api#usersshared)\n- [X] [ChatShared](https://core.telegram.org/bots/api#chatshared)\n- [ ] [WriteAccessAllowed](https://core.telegram.org/bots/api#writeaccessallowed)\n- [ ] [VideoChatScheduled](https://core.telegram.org/bots/api#videochatscheduled)\n- [ ] [VideoChatStarted](https://core.telegram.org/bots/api#videochatstarted)\n- [ ] [VideoChatEnded](https://core.telegram.org/bots/api#videochatended)\n- [ ] [VideoChatParticipantsInvited](https://core.telegram.org/bots/api#videochatparticipantsinvited)\n- [ ] [GiveawayCreated](https://core.telegram.org/bots/api#giveawaycreated)\n- [ ] [Giveaway](https://core.telegram.org/bots/api#giveaway)\n- [ ] [GiveawayWinners](https://core.telegram.org/bots/api#giveawaywinners)\n- [ ] [GiveawayCompleted](https://core.telegram.org/bots/api#giveawaycompleted)\n- [X] [LinkPreviewOptions](https://core.telegram.org/bots/api#linkpreviewoptions)\n- [ ] [UserProfilePhotos](https://core.telegram.org/bots/api#userprofilephotos)\n- [ ] [File](https://core.telegram.org/bots/api#file)\n- [X] [WebAppInfo](https://core.telegram.org/bots/api#webappinfo)\n- [X] [ReplyKeyboardMarkup](https://core.telegram.org/bots/api#replykeyboardmarkup)\n- [X] [KeyboardButton](https://core.telegram.org/bots/api#keyboardbutton)\n- [X] [KeyboardButtonRequestUsers](https://core.telegram.org/bots/api#keyboardbuttonrequestusers)\n- [X] [KeyboardButtonRequestChat](https://core.telegram.org/bots/api#keyboardbuttonrequestchat)\n- [X] [KeyboardButtonPollType](https://core.telegram.org/bots/api#keyboardbuttonpolltype)\n- [X] [ReplyKeyboardRemove](https://core.telegram.org/bots/api#replykeyboardremove)\n- [X] [InlineKeyboardMarkup](https://core.telegram.org/bots/api#inlinekeyboardmarkup)\n- [X] [InlineKeyboardButton](https://core.telegram.org/bots/api#inlinekeyboardbutton)\n- [X] [LoginUrl](https://core.telegram.org/bots/api#loginurl)\n- [X] [SwitchInlineQueryChosenChat](https://core.telegram.org/bots/api#switchinlinequerychosenchat)\n- [X] [CopyTextButton](https://core.telegram.org/bots/api#copytextbutton)\n- [X] [CallbackQuery](https://core.telegram.org/bots/api#callbackquery)\n- [X] [ForceReply](https://core.telegram.org/bots/api#forcereply)\n- [ ] [ChatPhoto](https://core.telegram.org/bots/api#chatphoto)\n- [ ] [ChatInviteLink](https://core.telegram.org/bots/api#chatinvitelink)\n- [ ] [ChatAdministratorRights](https://core.telegram.org/bots/api#chatadministratorrights)\n- [X] [ChatMemberUpdated](https://core.telegram.org/bots/api#chatmemberupdated)\n- [X] [ChatMember](https://core.telegram.org/bots/api#chatmember)\n- - [ ] [ChatMemberOwner](https://core.telegram.org/bots/api#chatmemberowner)\n- - [ ] [ChatMemberAdministrator](https://core.telegram.org/bots/api#chatmemberadministrator)\n- - [ ] [ChatMemberMember](https://core.telegram.org/bots/api#chatmembermember)\n- - [ ] [ChatMemberRestricted](https://core.telegram.org/bots/api#chatmemberrestricted)\n- - [ ] [ChatMemberLeft](https://core.telegram.org/bots/api#chatmemberleft)\n- - [ ] [ChatMemberBanned](https://core.telegram.org/bots/api#chatmemberbanned)\n- [X] [ChatJoinRequest](https://core.telegram.org/bots/api#chatjoinrequest)\n- [ ] [ChatPermissions](https://core.telegram.org/bots/api#chatpermissions)\n- [ ] [Birthdate](https://core.telegram.org/bots/api#birthdate)\n- [ ] [BusinessIntro](https://core.telegram.org/bots/api#businessintro)\n- [ ] [BusinessLocation](https://core.telegram.org/bots/api#businesslocation)\n- [ ] [BusinessOpeningHoursInterval](https://core.telegram.org/bots/api#businessopeninghoursinterval)\n- [ ] [BusinessOpeningHours](https://core.telegram.org/bots/api#businessopeninghours)\n- [ ] [ChatLocation](https://core.telegram.org/bots/api#chatlocation)\n- [X] [ReactionType](https://core.telegram.org/bots/api#reactiontype)\n- - [X] [ReactionTypeEmoji](https://core.telegram.org/bots/api#reactiontypeemoji)\n- - [X] [ReactionTypeCustomEmoji](https://core.telegram.org/bots/api#reactiontypecustomemoji)\n- - [X] [ReactionTypePaid](https://core.telegram.org/bots/api#reactiontypepaid)\n- [ ] [ReactionCount](https://core.telegram.org/bots/api#reactioncount)\n- [ ] [MessageReactionUpdated](https://core.telegram.org/bots/api#messagereactionupdated)\n- [ ] [MessageReactionCountUpdated](https://core.telegram.org/bots/api#messagereactioncountupdated)\n- [ ] [ForumTopic](https://core.telegram.org/bots/api#forumtopic)\n- [X] [BotCommand](https://core.telegram.org/bots/api#botcommand)\n- [X] [BotCommandScope](https://core.telegram.org/bots/api#botcommandscope)\n- - [X] [BotCommandScopeDefault](https://core.telegram.org/bots/api#botcommandscopedefault)\n- - [X] [BotCommandScopeAllPrivateChats](https://core.telegram.org/bots/api#botcommandscopeallprivatechats)\n- - [X] [BotCommandScopeAllGroupChats](https://core.telegram.org/bots/api#botcommandscopeallgroupchats)\n- - [X] [BotCommandScopeAllChatAdministrators](https://core.telegram.org/bots/api#botcommandscopeallchatadministrators)\n- - [X] [BotCommandScopeChat](https://core.telegram.org/bots/api#botcommandscopechat)\n- - [X] [BotCommandScopeChatAdministrators](https://core.telegram.org/bots/api#botcommandscopechatadministrators)\n- - [X] [BotCommandScopeChatMember](https://core.telegram.org/bots/api#botcommandscopechatmember)\n- [X] [BotName](https://core.telegram.org/bots/api#botname)\n- [X] [BotDescription](https://core.telegram.org/bots/api#botdescription)\n- [X] [BotShortDescription](https://core.telegram.org/bots/api#botshortdescription)\n- [X] [MenuButton](https://core.telegram.org/bots/api#menubutton)\n- - [ ] [MenuButtonCommands](https://core.telegram.org/bots/api#menubuttoncommands)\n- - [ ] [MenuButtonWebApp](https://core.telegram.org/bots/api#menubuttonwebapp)\n- - [ ] [MenuButtonDefault](https://core.telegram.org/bots/api#menubuttondefault)\n- [X] [ChatBoostSource](https://core.telegram.org/bots/api#chatboostsource)\n- - [ ] [ChatBoostSourcePremium](https://core.telegram.org/bots/api#chatboostsourcepremium)\n- - [ ] [ChatBoostSourceGiftCode](https://core.telegram.org/bots/api#chatboostsourcegiftcode)\n- - [ ] [ChatBoostSourceGiveaway](https://core.telegram.org/bots/api#chatboostsourcegiveaway)\n- [ ] [ChatBoost](https://core.telegram.org/bots/api#chatboost)\n- [ ] [ChatBoostUpdated](https://core.telegram.org/bots/api#chatboostupdated)\n- [ ] [ChatBoostRemoved](https://core.telegram.org/bots/api#chatboostremoved)\n- [ ] [UserChatBoosts](https://core.telegram.org/bots/api#userchatboosts)\n- [X] [BusinessConnection](https://core.telegram.org/bots/api#businessconnection)\n- [X] [BusinessMessagesDeleted](https://core.telegram.org/bots/api#businessmessagesdeleted)\n- [X] [ResponseParameters](https://core.telegram.org/bots/api#responseparameters)\n- [X] [InputMedia](https://core.telegram.org/bots/api#inputmedia)\n- - [ ] [InputMediaPhoto](https://core.telegram.org/bots/api#inputmediaphoto)\n- - [ ] [InputMediaVideo](https://core.telegram.org/bots/api#inputmediavideo)\n- - [ ] [InputMediaAnimation](https://core.telegram.org/bots/api#inputmediaanimation)\n- - [ ] [InputMediaAudio](https://core.telegram.org/bots/api#inputmediaaudio)\n- - [ ] [InputMediaDocument](https://core.telegram.org/bots/api#inputmediadocument)\n- [X] [InputFile](https://core.telegram.org/bots/api#inputfile)\n- [X] [InputPaidMedia](https://core.telegram.org/bots/api#inputpaidmedia)\n- - [X] [InputPaidMediaPhoto](https://core.telegram.org/bots/api#inputpaidmediaphoto)\n- - [X] [InputPaidMediaVideo](https://core.telegram.org/bots/api#inputpaidmediavideo)\n\n### Available methods\n\n(11/85 methods implemented)\n\n\\* Every method here has a signature **similar** to:\n```php\nstatic function sendMessage(\n    string $token,\n    SendMessageParams $params,\n    $guzzle_options = []\n): Message\n```\nSee [here](#usage-and-examples) for usage and examples.\n\n- [X] [getMe](https://core.telegram.org/bots/api#getme)\n- [X] [logOut](https://core.telegram.org/bots/api#logout)\n- [X] [close](https://core.telegram.org/bots/api#close)\n- [X] [sendMessage](https://core.telegram.org/bots/api#sendmessage)\n- [X] [forwardMessage](https://core.telegram.org/bots/api#forwardmessage)\n- [X] [forwardMessages](https://core.telegram.org/bots/api#forwardmessages)\n- [X] [copyMessage](https://core.telegram.org/bots/api#copymessage) *\n- [X] [copyMessages](https://core.telegram.org/bots/api#copymessages)\n- [X] [sendPhoto](https://core.telegram.org/bots/api#sendphoto)\n- [ ] [sendAudio](https://core.telegram.org/bots/api#sendaudio)\n- [X] [sendDocument](https://core.telegram.org/bots/api#senddocument)\n- [ ] [sendVideo](https://core.telegram.org/bots/api#sendvideo)\n- [ ] [sendAnimation](https://core.telegram.org/bots/api#sendanimation)\n- [ ] [sendVoice](https://core.telegram.org/bots/api#sendvoice)\n- [ ] [sendVideoNote](https://core.telegram.org/bots/api#sendvideonote)\n- [ ] [sendPaidMedia](https://core.telegram.org/bots/api#sendpaidmedia)\n- [ ] [sendMediaGroup](https://core.telegram.org/bots/api#sendmediagroup)\n- [ ] [sendLocation](https://core.telegram.org/bots/api#sendlocation)\n- [ ] [sendVenue](https://core.telegram.org/bots/api#sendvenue)\n- [ ] [sendContact](https://core.telegram.org/bots/api#sendcontact)\n- [ ] [sendPoll](https://core.telegram.org/bots/api#sendpoll)\n- [ ] [sendDice](https://core.telegram.org/bots/api#senddice)\n- [ ] [sendChatAction](https://core.telegram.org/bots/api#sendchataction)\n- [ ] [setMessageReaction](https://core.telegram.org/bots/api#setmessagereaction)\n- [ ] [getUserProfilePhotos](https://core.telegram.org/bots/api#getuserprofilephotos)\n- [ ] [getFile](https://core.telegram.org/bots/api#getfile)\n- [ ] [banChatMember](https://core.telegram.org/bots/api#banchatmember)\n- [ ] [unbanChatMember](https://core.telegram.org/bots/api#unbanchatmember)\n- [ ] [restrictChatMember](https://core.telegram.org/bots/api#restrictchatmember)\n- [ ] [promoteChatMember](https://core.telegram.org/bots/api#promotechatmember)\n- [ ] [setChatAdministratorCustomTitle](https://core.telegram.org/bots/api#setchatadministratorcustomtitle)\n- [ ] [banChatSenderChat](https://core.telegram.org/bots/api#banchatsenderchat)\n- [ ] [unbanChatSenderChat](https://core.telegram.org/bots/api#unbanchatsenderchat)\n- [ ] [setChatPermissions](https://core.telegram.org/bots/api#setchatpermissions)\n- [ ] [exportChatInviteLink](https://core.telegram.org/bots/api#exportchatinvitelink)\n- [ ] [createChatInviteLink](https://core.telegram.org/bots/api#createchatinvitelink)\n- [ ] [editChatInviteLink](https://core.telegram.org/bots/api#editchatinvitelink)\n- [ ] [createChatSubscriptionInviteLink](https://core.telegram.org/bots/api#createchatsubscriptioninvitelink)\n- [ ] [editChatSubscriptionInviteLink](https://core.telegram.org/bots/api#editchatsubscriptioninvitelink)\n- [ ] [revokeChatInviteLink](https://core.telegram.org/bots/api#revokechatinvitelink)\n- [ ] [approveChatJoinRequest](https://core.telegram.org/bots/api#approvechatjoinrequest)\n- [ ] [declineChatJoinRequest](https://core.telegram.org/bots/api#declinechatjoinrequest)\n- [ ] [setChatPhoto](https://core.telegram.org/bots/api#setchatphoto)\n- [ ] [deleteChatPhoto](https://core.telegram.org/bots/api#deletechatphoto)\n- [ ] [setChatTitle](https://core.telegram.org/bots/api#setchattitle)\n- [ ] [setChatDescription](https://core.telegram.org/bots/api#setchatdescription)\n- [ ] [pinChatMessage](https://core.telegram.org/bots/api#pinchatmessage)\n- [ ] [unpinChatMessage](https://core.telegram.org/bots/api#unpinchatmessage)\n- [ ] [unpinAllChatMessages](https://core.telegram.org/bots/api#unpinallchatmessages)\n- [ ] [leaveChat](https://core.telegram.org/bots/api#leavechat)\n- [ ] [getChat](https://core.telegram.org/bots/api#getchat)\n- [ ] [getChatAdministrators](https://core.telegram.org/bots/api#getchatadministrators)\n- [ ] [getChatMemberCount](https://core.telegram.org/bots/api#getchatmembercount)\n- [ ] [getChatMember](https://core.telegram.org/bots/api#getchatmember)\n- [ ] [setChatStickerSet](https://core.telegram.org/bots/api#setchatstickerset)\n- [ ] [deleteChatStickerSet](https://core.telegram.org/bots/api#deletechatstickerset)\n- [ ] [getForumTopicIconStickers](https://core.telegram.org/bots/api#getforumtopiciconstickers)\n- [ ] [createForumTopic](https://core.telegram.org/bots/api#createforumtopic)\n- [ ] [editForumTopic](https://core.telegram.org/bots/api#editforumtopic)\n- [ ] [closeForumTopic](https://core.telegram.org/bots/api#closeforumtopic)\n- [ ] [reopenForumTopic](https://core.telegram.org/bots/api#reopenforumtopic)\n- [ ] [deleteForumTopic](https://core.telegram.org/bots/api#deleteforumtopic)\n- [ ] [unpinAllForumTopicMessages](https://core.telegram.org/bots/api#unpinallforumtopicmessages)\n- [ ] [editGeneralForumTopic](https://core.telegram.org/bots/api#editgeneralforumtopic)\n- [ ] [closeGeneralForumTopic](https://core.telegram.org/bots/api#closegeneralforumtopic)\n- [ ] [reopenGeneralForumTopic](https://core.telegram.org/bots/api#reopengeneralforumtopic)\n- [ ] [hideGeneralForumTopic](https://core.telegram.org/bots/api#hidegeneralforumtopic)\n- [ ] [unhideGeneralForumTopic](https://core.telegram.org/bots/api#unhidegeneralforumtopic)\n- [ ] [unpinAllGeneralForumTopicMessages](https://core.telegram.org/bots/api#unpinallgeneralforumtopicmessages)\n- [X] [answerCallbackQuery](https://core.telegram.org/bots/api#answercallbackquery)\n- [ ] [getUserChatBoosts](https://core.telegram.org/bots/api#getuserchatboosts)\n- [ ] [getBusinessConnection](https://core.telegram.org/bots/api#getbusinessconnection)\n- [ ] [setMyCommands](https://core.telegram.org/bots/api#setmycommands)\n- [ ] [deleteMyCommands](https://core.telegram.org/bots/api#deletemycommands)\n- [ ] [getMyCommands](https://core.telegram.org/bots/api#getmycommands)\n- [ ] [setMyName](https://core.telegram.org/bots/api#setmyname)\n- [ ] [getMyName](https://core.telegram.org/bots/api#getmyname)\n- [ ] [setMyDescription](https://core.telegram.org/bots/api#setmydescription)\n- [ ] [getMyDescription](https://core.telegram.org/bots/api#getmydescription)\n- [ ] [setMyShortDescription](https://core.telegram.org/bots/api#setmyshortdescription)\n- [ ] [getMyShortDescription](https://core.telegram.org/bots/api#getmyshortdescription)\n- [ ] [setChatMenuButton](https://core.telegram.org/bots/api#setchatmenubutton)\n- [ ] [getChatMenuButton](https://core.telegram.org/bots/api#getchatmenubutton)\n- [ ] [setMyDefaultAdministratorRights](https://core.telegram.org/bots/api#setmydefaultadministratorrights)\n- [ ] [getMyDefaultAdministratorRights](https://core.telegram.org/bots/api#getmydefaultadministratorrights)\n\n\\* Experimental bulk (concurrent) version of this method is available. These methods are named like this: `copyMessage()` ---\u003e `_bulkCopyMessage()`\n\n### Updating messages\n\n(1/9 methods implemented)\n\n- [X] [editMessageText](https://core.telegram.org/bots/api#editmessagetext)\n- [ ] [editMessageCaption](https://core.telegram.org/bots/api#editmessagecaption)\n- [ ] [editMessageMedia](https://core.telegram.org/bots/api#editmessagemedia)\n- [ ] [editMessageLiveLocation](https://core.telegram.org/bots/api#editmessagelivelocation)\n- [ ] [stopMessageLiveLocation](https://core.telegram.org/bots/api#stopmessagelivelocation)\n- [ ] [editMessageReplyMarkup](https://core.telegram.org/bots/api#editmessagereplymarkup)\n- [ ] [stopPoll](https://core.telegram.org/bots/api#stoppoll)\n- [ ] [deleteMessage](https://core.telegram.org/bots/api#deletemessage)\n- [ ] [deleteMessages](https://core.telegram.org/bots/api#deletemessages)\n\n### Stickers\n\n(0/16 methods implemented, 0/4 classes implemented)\n\n- [ ] [Sticker](https://core.telegram.org/bots/api#sticker)\n- [ ] [StickerSet](https://core.telegram.org/bots/api#stickerset)\n- [ ] [MaskPosition](https://core.telegram.org/bots/api#maskposition)\n- [ ] [InputSticker](https://core.telegram.org/bots/api#inputsticker)\n- [ ] [sendSticker](https://core.telegram.org/bots/api#sendsticker)\n- [ ] [getStickerSet](https://core.telegram.org/bots/api#getstickerset)\n- [ ] [getCustomEmojiStickers](https://core.telegram.org/bots/api#getcustomemojistickers)\n- [ ] [uploadStickerFile](https://core.telegram.org/bots/api#uploadstickerfile)\n- [ ] [createNewStickerSet](https://core.telegram.org/bots/api#createnewstickerset)\n- [ ] [addStickerToSet](https://core.telegram.org/bots/api#addstickertoset)\n- [ ] [setStickerPositionInSet](https://core.telegram.org/bots/api#setstickerpositioninset)\n- [ ] [deleteStickerFromSet](https://core.telegram.org/bots/api#deletestickerfromset)\n- [ ] [replaceStickerInSet](https://core.telegram.org/bots/api#replacestickerinset)\n- [ ] [setStickerEmojiList](https://core.telegram.org/bots/api#setstickeremojilist)\n- [ ] [setStickerKeywords](https://core.telegram.org/bots/api#setstickerkeywords)\n- [ ] [setStickerMaskPosition](https://core.telegram.org/bots/api#setstickermaskposition)\n- [ ] [setStickerSetTitle](https://core.telegram.org/bots/api#setstickersettitle)\n- [ ] [setStickerSetThumbnail](https://core.telegram.org/bots/api#setstickersetthumbnail)\n- [ ] [setCustomEmojiStickerSetThumbnail](https://core.telegram.org/bots/api#setcustomemojistickersetthumbnail)\n- [ ] [deleteStickerSet](https://core.telegram.org/bots/api#deletestickerset)\n\n### Inline mode\n\n(0/2 methods implemented, 3/29 classes implemented + 2 union types)\n\n- [X] [InlineQuery](https://core.telegram.org/bots/api#inlinequery)\n- [ ] [answerInlineQuery](https://core.telegram.org/bots/api#answerinlinequery)\n- [X] [InlineQueryResultsButton](https://core.telegram.org/bots/api#inlinequeryresultsbutton)\n- [InlineQueryResult](https://core.telegram.org/bots/api#inlinequeryresult)\n- - [ ] [InlineQueryResultArticle](https://core.telegram.org/bots/api#inlinequeryresultarticle)\n- - [ ] [InlineQueryResultPhoto](https://core.telegram.org/bots/api#inlinequeryresultphoto)\n- - [ ] [InlineQueryResultGif](https://core.telegram.org/bots/api#inlinequeryresultgif)\n- - [ ] [InlineQueryResultMpeg4Gif](https://core.telegram.org/bots/api#inlinequeryresultmpeg4gif)\n- - [ ] [InlineQueryResultVideo](https://core.telegram.org/bots/api#inlinequeryresultvideo)\n- - [ ] [InlineQueryResultAudio](https://core.telegram.org/bots/api#inlinequeryresultaudio)\n- - [ ] [InlineQueryResultVoice](https://core.telegram.org/bots/api#inlinequeryresultvoice)\n- - [ ] [InlineQueryResultDocument](https://core.telegram.org/bots/api#inlinequeryresultdocument)\n- - [ ] [InlineQueryResultLocation](https://core.telegram.org/bots/api#inlinequeryresultlocation)\n- - [ ] [InlineQueryResultVenue](https://core.telegram.org/bots/api#inlinequeryresultvenue)\n- - [ ] [InlineQueryResultContact](https://core.telegram.org/bots/api#inlinequeryresultcontact)\n- - [ ] [InlineQueryResultGame](https://core.telegram.org/bots/api#inlinequeryresultgame)\n- - [ ] [InlineQueryResultCachedPhoto](https://core.telegram.org/bots/api#inlinequeryresultcachedphoto)\n- - [ ] [InlineQueryResultCachedGif](https://core.telegram.org/bots/api#inlinequeryresultcachedgif)\n- - [ ] [InlineQueryResultCachedMpeg4Gif](https://core.telegram.org/bots/api#inlinequeryresultcachedmpeg4gif)\n- - [ ] [InlineQueryResultCachedSticker](https://core.telegram.org/bots/api#inlinequeryresultcachedsticker)\n- - [ ] [InlineQueryResultCachedDocument](https://core.telegram.org/bots/api#inlinequeryresultcacheddocument)\n- - [ ] [InlineQueryResultCachedVideo](https://core.telegram.org/bots/api#inlinequeryresultcachedvideo)\n- - [ ] [InlineQueryResultCachedVoice](https://core.telegram.org/bots/api#inlinequeryresultcachedvoice)\n- - [ ] [InlineQueryResultCachedAudio](https://core.telegram.org/bots/api#inlinequeryresultcachedaudio)\n- [InputMessageContent](https://core.telegram.org/bots/api#inputmessagecontent)\n- - [ ] [InputTextMessageContent](https://core.telegram.org/bots/api#inputtextmessagecontent)\n- - [ ] [InputLocationMessageContent](https://core.telegram.org/bots/api#inputlocationmessagecontent)\n- - [ ] [InputVenueMessageContent](https://core.telegram.org/bots/api#inputvenuemessagecontent)\n- - [ ] [InputContactMessageContent](https://core.telegram.org/bots/api#inputcontactmessagecontent)\n- - [ ] [InputInvoiceMessageContent](https://core.telegram.org/bots/api#inputinvoicemessagecontent)\n- [X] [ChosenInlineResult](https://core.telegram.org/bots/api#choseninlineresult)\n- [ ] [answerWebAppQuery](https://core.telegram.org/bots/api#answerwebappquery)\n- [ ] [SentWebAppMessage](https://core.telegram.org/bots/api#sentwebappmessage)\n\n### Payments\n\n(0/6 methods implemented, 3/19 classes implemented + 2 union types)\n\n- [ ] [sendInvoice](https://core.telegram.org/bots/api#sendinvoice)\n- [ ] [createInvoiceLink](https://core.telegram.org/bots/api#createinvoicelink)\n- [ ] [answerShippingQuery](https://core.telegram.org/bots/api#answershippingquery)\n- [ ] [answerPreCheckoutQuery](https://core.telegram.org/bots/api#answerprecheckoutquery)\n- [ ] [getStarTransactions](https://core.telegram.org/bots/api#getstartransactions)\n- [ ] [refundStarPayment](https://core.telegram.org/bots/api#refundstarpayment)\n- [ ] [LabeledPrice](https://core.telegram.org/bots/api#labeledprice)\n- [ ] [Invoice](https://core.telegram.org/bots/api#invoice)\n- [ ] [ShippingAddress](https://core.telegram.org/bots/api#shippingaddress)\n- [ ] [OrderInfo](https://core.telegram.org/bots/api#orderinfo)\n- [ ] [ShippingOption](https://core.telegram.org/bots/api#shippingoption)\n- [ ] [SuccessfulPayment](https://core.telegram.org/bots/api#successfulpayment)\n- [ ] [RefundedPayment](https://core.telegram.org/bots/api#refundedpayment)\n- [X] [ShippingQuery](https://core.telegram.org/bots/api#shippingquery)\n- [X] [PreCheckoutQuery](https://core.telegram.org/bots/api#precheckoutquery)\n- [X] [PaidMediaPurchased](https://core.telegram.org/bots/api#paidmediapurchased)\n- [RevenueWithdrawalState](https://core.telegram.org/bots/api#revenuewithdrawalstate)\n- - [ ] [RevenueWithdrawalStatePending](https://core.telegram.org/bots/api#revenuewithdrawalstatepending)\n- - [ ] [RevenueWithdrawalStateSucceeded](https://core.telegram.org/bots/api#revenuewithdrawalstatesucceeded)\n- - [ ] [RevenueWithdrawalStateFailed](https://core.telegram.org/bots/api#revenuewithdrawalstatefailed)\n- [TransactionPartner](https://core.telegram.org/bots/api#transactionpartner)\n- - [ ] [TransactionPartnerUser](https://core.telegram.org/bots/api#transactionpartneruser)\n- - [ ] [TransactionPartnerFragment](https://core.telegram.org/bots/api#transactionpartnerfragment)\n- - [ ] [TransactionPartnerTelegramAds](https://core.telegram.org/bots/api#transactionpartnertelegramads)\n- - [ ] [TransactionPartnerTelegramApi](https://core.telegram.org/bots/api#transactionpartnertelegramapi)\n- - [ ] [TransactionPartnerOther](https://core.telegram.org/bots/api#transactionpartnerother)\n- [ ] [StarTransaction](https://core.telegram.org/bots/api#startransaction)\n- [ ] [StarTransactions](https://core.telegram.org/bots/api#startransactions)\n\n### Telegram Passport\n\n(0/1 methods implemented, 0/13 classes implemented + 1 union type)\n\n- [ ] [PassportData](https://core.telegram.org/bots/api#passportdata)\n- [ ] [PassportFile](https://core.telegram.org/bots/api#passportfile)\n- [ ] [EncryptedPassportElement](https://core.telegram.org/bots/api#encryptedpassportelement)\n- [ ] [EncryptedCredentials](https://core.telegram.org/bots/api#encryptedcredentials)\n- [ ] [setPassportDataErrors](https://core.telegram.org/bots/api#setpassportdataerrors)\n- [PassportElementError](https://core.telegram.org/bots/api#passportelementerror)\n- - [ ] [PassportElementErrorDataField](https://core.telegram.org/bots/api#passportelementerrordatafield)\n- - [ ] [PassportElementErrorFrontSide](https://core.telegram.org/bots/api#passportelementerrorfrontside)\n- - [ ] [PassportElementErrorReverseSide](https://core.telegram.org/bots/api#passportelementerrorreverseside)\n- - [ ] [PassportElementErrorSelfie](https://core.telegram.org/bots/api#passportelementerrorselfie)\n- - [ ] [PassportElementErrorFile](https://core.telegram.org/bots/api#passportelementerrorfile)\n- - [ ] [PassportElementErrorFiles](https://core.telegram.org/bots/api#passportelementerrorfiles)\n- - [ ] [PassportElementErrorTranslationFile](https://core.telegram.org/bots/api#passportelementerrortranslationfile)\n- - [ ] [PassportElementErrorTranslationFiles](https://core.telegram.org/bots/api#passportelementerrortranslationfiles)\n- - [ ] [PassportElementErrorUnspecified](https://core.telegram.org/bots/api#passportelementerrorunspecified)\n\n### Games\n\n(0/3 methods implemented, 0/3 classes implemented)\n\n- [ ] [sendGame](https://core.telegram.org/bots/api#sendgame)\n- [ ] [Game](https://core.telegram.org/bots/api#game)\n- [ ] [CallbackGame](https://core.telegram.org/bots/api#callbackgame)\n- [ ] [setGameScore](https://core.telegram.org/bots/api#setgamescore)\n- [ ] [setGameHighScores](https://core.telegram.org/bots/api#setgamehighscores)\n- [ ] [GameHighScore](https://core.telegram.org/bots/api#gamehighscore)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirrh6%2Flitegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famirrh6%2Flitegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirrh6%2Flitegram/lists"}