Showing preview only (3,633K chars total). Download the full file or copy to clipboard to get everything.
Repository: Eptagone/Telegram.BotAPI
Branch: main
Commit: e713ebd791e6
Files: 748
Total size: 3.3 MB
Directory structure:
gitextract_x_mrro30/
├── .gitattributes
├── .github/
│ └── workflows/
│ ├── build.yaml
│ ├── close-inactive-issues.yaml
│ └── publish.yaml
├── .gitignore
├── LICENSE
├── README.md
├── src/
│ ├── .editorconfig
│ ├── .gitignore
│ ├── Telegram.BotAPI.sln
│ ├── examples/
│ │ ├── .dockerignore
│ │ ├── BotTemplate/
│ │ │ ├── BotTemplateSample.csproj
│ │ │ ├── MyBot.cs
│ │ │ ├── Program.cs
│ │ │ └── readme.md
│ │ ├── Callback query button 01/
│ │ │ ├── Callback query button 01.csproj
│ │ │ ├── Program.cs
│ │ │ └── readme.md
│ │ ├── Examples.sln
│ │ ├── Hello World/
│ │ │ ├── Hello World.csproj
│ │ │ ├── Program.cs
│ │ │ └── readme.md
│ │ ├── HelloBotNET.AppService/
│ │ │ ├── HelloBotNET.AppService.csproj
│ │ │ ├── Program.cs
│ │ │ ├── Properties/
│ │ │ │ ├── launchSettings.json
│ │ │ │ ├── serviceDependencies.json
│ │ │ │ └── serviceDependencies.local.json
│ │ │ ├── Services/
│ │ │ │ ├── HelloBot.CommandHandler.cs
│ │ │ │ ├── HelloBot.ErrorHandler.cs
│ │ │ │ ├── HelloBot.MessageHandler.cs
│ │ │ │ ├── HelloBot.UpdateHandler.cs
│ │ │ │ └── HelloBot.cs
│ │ │ ├── Worker.cs
│ │ │ ├── appsettings.Development.json
│ │ │ ├── appsettings.json
│ │ │ └── readme.md
│ │ ├── HelloBotNET.Webhook/
│ │ │ ├── Controllers/
│ │ │ │ └── BotController.cs
│ │ │ ├── Extensions/
│ │ │ │ └── ApplicationBuilderExtensions.cs
│ │ │ ├── HelloBotNET.Webhook.csproj
│ │ │ ├── Program.cs
│ │ │ ├── Properties/
│ │ │ │ └── launchSettings.json
│ │ │ ├── Services/
│ │ │ │ ├── HelloBot.CommandHandler.cs
│ │ │ │ ├── HelloBot.ErrorHandler.cs
│ │ │ │ ├── HelloBot.MessageHandler.cs
│ │ │ │ ├── HelloBot.UpdateHandler.cs
│ │ │ │ └── HelloBot.cs
│ │ │ ├── appsettings.Development.json
│ │ │ ├── appsettings.json
│ │ │ └── readme.md
│ │ ├── Poll Quiz 01/
│ │ │ ├── Poll Quiz 01.csproj
│ │ │ ├── Program.cs
│ │ │ └── readme.md
│ │ ├── ReplyKeyboardMarkup 01/
│ │ │ ├── Program.cs
│ │ │ ├── ReplyKeyboardMarkup 01.csproj
│ │ │ └── readme.md
│ │ ├── Telegram Calendar/
│ │ │ ├── Calendar.cs
│ │ │ ├── CalendarBot.cs
│ │ │ ├── Models/
│ │ │ │ ├── Day.cs
│ │ │ │ ├── Month.cs
│ │ │ │ └── MonthName.cs
│ │ │ ├── Program.cs
│ │ │ ├── Telegram Calendar.csproj
│ │ │ └── readme.md
│ │ └── readme.md
│ ├── library/
│ │ ├── Telegram.BotAPI/
│ │ │ ├── Abstractions/
│ │ │ │ ├── ITelegramBot.cs
│ │ │ │ ├── ITelegramBotClient.cs
│ │ │ │ └── SendAttachedFilesArgsBase.cs
│ │ │ ├── AvailableMethods/
│ │ │ │ ├── Args/
│ │ │ │ │ ├── AnswerCallbackQueryArgs.cs
│ │ │ │ │ ├── AnswerGuestQueryArgs.cs
│ │ │ │ │ ├── AnswerWebAppQueryArgs.cs
│ │ │ │ │ ├── CopyMessageArgs.cs
│ │ │ │ │ ├── CopyMessagesArgs.cs
│ │ │ │ │ ├── CreateChatInviteLinkArgs.cs
│ │ │ │ │ ├── DeleteBusinessMessagesArgs.cs
│ │ │ │ │ ├── DeleteMyCommandsArgs.cs
│ │ │ │ │ ├── EditChatInviteLinkArgs.cs
│ │ │ │ │ ├── EditStoryArgs.cs
│ │ │ │ │ ├── ForwardMessageArgs.cs
│ │ │ │ │ ├── ForwardMessagesArgs.cs
│ │ │ │ │ ├── GetBusinessAccountGiftsArgs.cs
│ │ │ │ │ ├── GetChatGiftsArgs.cs
│ │ │ │ │ ├── GetMyCommandsArgs.cs
│ │ │ │ │ ├── GetUserGiftsArgs.cs
│ │ │ │ │ ├── GiftPremiumSubscriptionArgs.cs
│ │ │ │ │ ├── PostStoryArgs.cs
│ │ │ │ │ ├── PromoteChatMemberArgs.cs
│ │ │ │ │ ├── RepostStoryArgs.cs
│ │ │ │ │ ├── RestrictChatMemberArgs.cs
│ │ │ │ │ ├── SavePreparedInlineMessageArgs.cs
│ │ │ │ │ ├── SavePreparedKeyboardButtonArgs.cs
│ │ │ │ │ ├── SendAnimationArgs.cs
│ │ │ │ │ ├── SendAudioArgs.cs
│ │ │ │ │ ├── SendChecklistArgs.cs
│ │ │ │ │ ├── SendContactArgs.cs
│ │ │ │ │ ├── SendDiceArgs.cs
│ │ │ │ │ ├── SendDocumentArgs.cs
│ │ │ │ │ ├── SendGiftArgs.cs
│ │ │ │ │ ├── SendLivePhotoArgs.cs
│ │ │ │ │ ├── SendLocationArgs.cs
│ │ │ │ │ ├── SendMediaGroupArgs.cs
│ │ │ │ │ ├── SendMessageArgs.cs
│ │ │ │ │ ├── SendMessageDraftArgs.cs
│ │ │ │ │ ├── SendPaidMediaArgs.cs
│ │ │ │ │ ├── SendPhotoArgs.cs
│ │ │ │ │ ├── SendPollArgs.cs
│ │ │ │ │ ├── SendVenueArgs.cs
│ │ │ │ │ ├── SendVideoArgs.cs
│ │ │ │ │ ├── SendVideoNoteArgs.cs
│ │ │ │ │ ├── SendVoiceArgs.cs
│ │ │ │ │ ├── SetBusinessAccountGiftSettingsArgs.cs
│ │ │ │ │ ├── SetBusinessAccountProfilePhotoArgs.cs
│ │ │ │ │ ├── SetChatMenuButtonArgs.cs
│ │ │ │ │ ├── SetChatPermissionsArgs.cs
│ │ │ │ │ ├── SetChatPhotoArgs.cs
│ │ │ │ │ ├── SetManagedBotAccessSettingsArgs.cs
│ │ │ │ │ ├── SetMessageReactionArgs.cs
│ │ │ │ │ ├── SetMyCommandsArgs.cs
│ │ │ │ │ ├── SetMyDefaultAdministratorRightsArgs.cs
│ │ │ │ │ └── SetMyProfilePhotoArgs.cs
│ │ │ │ ├── answerCallbackQuery.cs
│ │ │ │ ├── answerGuestQuery.cs
│ │ │ │ ├── answerWebAppQuery.cs
│ │ │ │ ├── approveChatJoinRequest.cs
│ │ │ │ ├── banChatMember.cs
│ │ │ │ ├── banChatSenderChat.cs
│ │ │ │ ├── close.cs
│ │ │ │ ├── closeForumTopic.cs
│ │ │ │ ├── closeGeneralForumTopic.cs
│ │ │ │ ├── convertGiftToStars.cs
│ │ │ │ ├── copyMessage.cs
│ │ │ │ ├── copyMessages.cs
│ │ │ │ ├── createChatInviteLink.cs
│ │ │ │ ├── createChatSubscriptionInviteLink.cs
│ │ │ │ ├── createForumTopic.cs
│ │ │ │ ├── declineChatJoinRequest.cs
│ │ │ │ ├── deleteBusinessMessages.cs
│ │ │ │ ├── deleteChatPhoto.cs
│ │ │ │ ├── deleteChatStickerSet.cs
│ │ │ │ ├── deleteForumTopic.cs
│ │ │ │ ├── deleteMyCommands.cs
│ │ │ │ ├── deleteStory.cs
│ │ │ │ ├── editChatInviteLink.cs
│ │ │ │ ├── editChatSubscriptionInviteLink.cs
│ │ │ │ ├── editForumTopic.cs
│ │ │ │ ├── editGeneralForumTopic.cs
│ │ │ │ ├── editStory.cs
│ │ │ │ ├── exportChatInviteLink.cs
│ │ │ │ ├── forwardMessage.cs
│ │ │ │ ├── forwardMessages.cs
│ │ │ │ ├── getAvailableGifts.cs
│ │ │ │ ├── getBusinessAccountGifts.cs
│ │ │ │ ├── getBusinessAccountStarBalance.cs
│ │ │ │ ├── getBusinessConnection.cs
│ │ │ │ ├── getChat.cs
│ │ │ │ ├── getChatAdministrators.cs
│ │ │ │ ├── getChatGifts.cs
│ │ │ │ ├── getChatMember.cs
│ │ │ │ ├── getChatMemberCount.cs
│ │ │ │ ├── getChatMenuButton.cs
│ │ │ │ ├── getFile.cs
│ │ │ │ ├── getForumTopicIconStickers.cs
│ │ │ │ ├── getManagedBotAccessSettings.cs
│ │ │ │ ├── getManagedBotToken.cs
│ │ │ │ ├── getMe.cs
│ │ │ │ ├── getMyCommands.cs
│ │ │ │ ├── getMyDefaultAdministratorRights.cs
│ │ │ │ ├── getMyDescription.cs
│ │ │ │ ├── getMyName.cs
│ │ │ │ ├── getMyShortDescription.cs
│ │ │ │ ├── getUserChatBoosts.cs
│ │ │ │ ├── getUserGifts.cs
│ │ │ │ ├── getUserPersonalChatMessages.cs
│ │ │ │ ├── getUserProfileAudios.cs
│ │ │ │ ├── getUserProfilePhotos.cs
│ │ │ │ ├── giftPremiumSubscription.cs
│ │ │ │ ├── hideGeneralForumTopic.cs
│ │ │ │ ├── leaveChat.cs
│ │ │ │ ├── logOut.cs
│ │ │ │ ├── pinChatMessage.cs
│ │ │ │ ├── postStory.cs
│ │ │ │ ├── promoteChatMember.cs
│ │ │ │ ├── readBusinessMessage.cs
│ │ │ │ ├── removeBusinessAccountProfilePhoto.cs
│ │ │ │ ├── removeChatVerification.cs
│ │ │ │ ├── removeMyProfilePhoto.cs
│ │ │ │ ├── removeUserVerification.cs
│ │ │ │ ├── reopenForumTopic.cs
│ │ │ │ ├── reopenGeneralForumTopic.cs
│ │ │ │ ├── replaceManagedBotToken.cs
│ │ │ │ ├── repostStory.cs
│ │ │ │ ├── restrictChatMember.cs
│ │ │ │ ├── revokeChatInviteLink.cs
│ │ │ │ ├── savePreparedInlineMessage.cs
│ │ │ │ ├── savePreparedKeyboardButton.cs
│ │ │ │ ├── sendAnimation.cs
│ │ │ │ ├── sendAudio.cs
│ │ │ │ ├── sendChatAction.cs
│ │ │ │ ├── sendChecklist.cs
│ │ │ │ ├── sendContact.cs
│ │ │ │ ├── sendDice.cs
│ │ │ │ ├── sendDocument.cs
│ │ │ │ ├── sendGift.cs
│ │ │ │ ├── sendLivePhoto.cs
│ │ │ │ ├── sendLocation.cs
│ │ │ │ ├── sendMediaGroup.cs
│ │ │ │ ├── sendMessage.cs
│ │ │ │ ├── sendMessageDraft.cs
│ │ │ │ ├── sendPaidMedia.cs
│ │ │ │ ├── sendPhoto.cs
│ │ │ │ ├── sendPoll.cs
│ │ │ │ ├── sendVenue.cs
│ │ │ │ ├── sendVideo.cs
│ │ │ │ ├── sendVideoNote.cs
│ │ │ │ ├── sendVoice.cs
│ │ │ │ ├── setBusinessAccountBio.cs
│ │ │ │ ├── setBusinessAccountGiftSettings.cs
│ │ │ │ ├── setBusinessAccountName.cs
│ │ │ │ ├── setBusinessAccountProfilePhoto.cs
│ │ │ │ ├── setBusinessAccountUsername.cs
│ │ │ │ ├── setChatAdministratorCustomTitle.cs
│ │ │ │ ├── setChatDescription.cs
│ │ │ │ ├── setChatMemberTag.cs
│ │ │ │ ├── setChatMenuButton.cs
│ │ │ │ ├── setChatPermissions.cs
│ │ │ │ ├── setChatPhoto.cs
│ │ │ │ ├── setChatStickerSet.cs
│ │ │ │ ├── setChatTitle.cs
│ │ │ │ ├── setManagedBotAccessSettings.cs
│ │ │ │ ├── setMessageReaction.cs
│ │ │ │ ├── setMyCommands.cs
│ │ │ │ ├── setMyDefaultAdministratorRights.cs
│ │ │ │ ├── setMyDescription.cs
│ │ │ │ ├── setMyName.cs
│ │ │ │ ├── setMyProfilePhoto.cs
│ │ │ │ ├── setMyShortDescription.cs
│ │ │ │ ├── setUserEmojiStatus.cs
│ │ │ │ ├── transferBusinessAccountStars.cs
│ │ │ │ ├── transferGift.cs
│ │ │ │ ├── unbanChatMember.cs
│ │ │ │ ├── unbanChatSenderChat.cs
│ │ │ │ ├── unhideGeneralForumTopic.cs
│ │ │ │ ├── unpinAllChatMessages.cs
│ │ │ │ ├── unpinAllForumTopicMessages.cs
│ │ │ │ ├── unpinAllGeneralForumTopicMessages.cs
│ │ │ │ ├── unpinChatMessage.cs
│ │ │ │ ├── upgradeGift.cs
│ │ │ │ ├── verifyChat.cs
│ │ │ │ └── verifyUser.cs
│ │ │ ├── AvailableTypes/
│ │ │ │ ├── AcceptedGiftTypes.cs
│ │ │ │ ├── Animation.cs
│ │ │ │ ├── Audio.cs
│ │ │ │ ├── BackgroundFill/
│ │ │ │ │ ├── BackgroundFill.cs
│ │ │ │ │ ├── BackgroundFillFreeformGradient.cs
│ │ │ │ │ ├── BackgroundFillGradient.cs
│ │ │ │ │ └── BackgroundFillSolid.cs
│ │ │ │ ├── BackgroundType/
│ │ │ │ │ ├── BackgroundType.cs
│ │ │ │ │ ├── BackgroundTypeChatTheme.cs
│ │ │ │ │ ├── BackgroundTypeFill.cs
│ │ │ │ │ ├── BackgroundTypePattern.cs
│ │ │ │ │ └── BackgroundTypeWallpaper.cs
│ │ │ │ ├── Birthdate.cs
│ │ │ │ ├── BotAccessSettings.cs
│ │ │ │ ├── BotCommand.cs
│ │ │ │ ├── BotCommandScope/
│ │ │ │ │ ├── BotCommandScope.cs
│ │ │ │ │ ├── BotCommandScopeAllChatAdministrators.cs
│ │ │ │ │ ├── BotCommandScopeAllGroupChats.cs
│ │ │ │ │ ├── BotCommandScopeAllPrivateChats.cs
│ │ │ │ │ ├── BotCommandScopeChat.cs
│ │ │ │ │ ├── BotCommandScopeChatAdministrators.cs
│ │ │ │ │ ├── BotCommandScopeChatMember.cs
│ │ │ │ │ └── BotCommandScopeDefault.cs
│ │ │ │ ├── BotDescription.cs
│ │ │ │ ├── BotName.cs
│ │ │ │ ├── BotShortDescription.cs
│ │ │ │ ├── BusinessBotRights.cs
│ │ │ │ ├── BusinessConnection.cs
│ │ │ │ ├── BusinessIntro.cs
│ │ │ │ ├── BusinessLocation.cs
│ │ │ │ ├── BusinessMessagesDeleted.cs
│ │ │ │ ├── BusinessOpeningHours.cs
│ │ │ │ ├── BusinessOpeningHoursInterval.cs
│ │ │ │ ├── CallbackQuery.cs
│ │ │ │ ├── Chat/
│ │ │ │ │ ├── Chat.cs
│ │ │ │ │ └── ChatFullInfo.cs
│ │ │ │ ├── ChatAdministratorRights.cs
│ │ │ │ ├── ChatBackground.cs
│ │ │ │ ├── ChatBoost.cs
│ │ │ │ ├── ChatBoostAdded.cs
│ │ │ │ ├── ChatBoostRemoved.cs
│ │ │ │ ├── ChatBoostSource/
│ │ │ │ │ ├── ChatBoostSource.cs
│ │ │ │ │ ├── ChatBoostSourceGiftCode.cs
│ │ │ │ │ ├── ChatBoostSourceGiveaway.cs
│ │ │ │ │ └── ChatBoostSourcePremium.cs
│ │ │ │ ├── ChatBoostUpdated.cs
│ │ │ │ ├── ChatInviteLink.cs
│ │ │ │ ├── ChatJoinRequest.cs
│ │ │ │ ├── ChatLocation.cs
│ │ │ │ ├── ChatMember/
│ │ │ │ │ ├── ChatMember.cs
│ │ │ │ │ ├── ChatMemberAdministrator.cs
│ │ │ │ │ ├── ChatMemberBanned.cs
│ │ │ │ │ ├── ChatMemberLeft.cs
│ │ │ │ │ ├── ChatMemberMember.cs
│ │ │ │ │ ├── ChatMemberOwner.cs
│ │ │ │ │ └── ChatMemberRestricted.cs
│ │ │ │ ├── ChatMemberUpdated.cs
│ │ │ │ ├── ChatOwnerChanged.cs
│ │ │ │ ├── ChatOwnerLeft.cs
│ │ │ │ ├── ChatPermissions.cs
│ │ │ │ ├── ChatPhoto.cs
│ │ │ │ ├── ChatShared.cs
│ │ │ │ ├── Checklist.cs
│ │ │ │ ├── ChecklistTask.cs
│ │ │ │ ├── ChecklistTasksAdded.cs
│ │ │ │ ├── ChecklistTasksDone.cs
│ │ │ │ ├── Contact.cs
│ │ │ │ ├── CopyTextButton.cs
│ │ │ │ ├── Dice.cs
│ │ │ │ ├── DirectMessagePriceChanged.cs
│ │ │ │ ├── DirectMessagesTopic.cs
│ │ │ │ ├── Document.cs
│ │ │ │ ├── ExternalReplyInfo.cs
│ │ │ │ ├── File.cs
│ │ │ │ ├── ForumTopic.cs
│ │ │ │ ├── ForumTopicClosed.cs
│ │ │ │ ├── ForumTopicCreated.cs
│ │ │ │ ├── ForumTopicEdited.cs
│ │ │ │ ├── ForumTopicReopened.cs
│ │ │ │ ├── GeneralForumTopicHidden.cs
│ │ │ │ ├── GeneralForumTopicUnhidden.cs
│ │ │ │ ├── Gift.cs
│ │ │ │ ├── GiftBackground.cs
│ │ │ │ ├── GiftInfo.cs
│ │ │ │ ├── Gifts.cs
│ │ │ │ ├── Giveaway.cs
│ │ │ │ ├── GiveawayCompleted.cs
│ │ │ │ ├── GiveawayCreated.cs
│ │ │ │ ├── GiveawayWinners.cs
│ │ │ │ ├── InlineKeyboardButton.cs
│ │ │ │ ├── InputChecklist.cs
│ │ │ │ ├── InputChecklistTask.cs
│ │ │ │ ├── InputFile.cs
│ │ │ │ ├── InputMedia/
│ │ │ │ │ ├── InputMedia.cs
│ │ │ │ │ ├── InputMediaAnimation.cs
│ │ │ │ │ ├── InputMediaAudio.cs
│ │ │ │ │ ├── InputMediaDocument.cs
│ │ │ │ │ ├── InputMediaLivePhoto.cs
│ │ │ │ │ ├── InputMediaLocation.cs
│ │ │ │ │ ├── InputMediaPhoto.cs
│ │ │ │ │ ├── InputMediaSticker.cs
│ │ │ │ │ ├── InputMediaVenue.cs
│ │ │ │ │ └── InputMediaVideo.cs
│ │ │ │ ├── InputPaidMedia/
│ │ │ │ │ ├── InputPaidMedia.cs
│ │ │ │ │ ├── InputPaidMediaLivePhoto.cs
│ │ │ │ │ ├── InputPaidMediaPhoto.cs
│ │ │ │ │ └── InputPaidMediaVideo.cs
│ │ │ │ ├── InputPollOption.cs
│ │ │ │ ├── InputProfilePhoto/
│ │ │ │ │ ├── InputProfilePhoto.cs
│ │ │ │ │ ├── InputProfilePhotoAnimated.cs
│ │ │ │ │ └── InputProfilePhotoStatic.cs
│ │ │ │ ├── InputStoryContent/
│ │ │ │ │ ├── InputStoryContent.cs
│ │ │ │ │ ├── InputStoryContentPhoto.cs
│ │ │ │ │ └── InputStoryContentVideo.cs
│ │ │ │ ├── KeyboardButton.cs
│ │ │ │ ├── KeyboardButtonPollType.cs
│ │ │ │ ├── KeyboardButtonRequestChat.cs
│ │ │ │ ├── KeyboardButtonRequestManagedBot.cs
│ │ │ │ ├── KeyboardButtonRequestUsers.cs
│ │ │ │ ├── LinkPreviewOptions.cs
│ │ │ │ ├── LivePhoto.cs
│ │ │ │ ├── Location.cs
│ │ │ │ ├── LocationAddress.cs
│ │ │ │ ├── LoginUrl.cs
│ │ │ │ ├── ManagedBotCreated.cs
│ │ │ │ ├── ManagedBotUpdated.cs
│ │ │ │ ├── MaybeInaccessibleMessage/
│ │ │ │ │ ├── InaccessibleMessage.cs
│ │ │ │ │ ├── MaybeInaccessibleMessage.cs
│ │ │ │ │ └── Message.cs
│ │ │ │ ├── MenuButton/
│ │ │ │ │ ├── MenuButton.cs
│ │ │ │ │ ├── MenuButtonCommands.cs
│ │ │ │ │ ├── MenuButtonDefault.cs
│ │ │ │ │ └── MenuButtonWebApp.cs
│ │ │ │ ├── MessageAutoDeleteTimerChanged.cs
│ │ │ │ ├── MessageEntity.cs
│ │ │ │ ├── MessageID.cs
│ │ │ │ ├── MessageOrigin/
│ │ │ │ │ ├── MessageOrigin.cs
│ │ │ │ │ ├── MessageOriginChannel.cs
│ │ │ │ │ ├── MessageOriginChat.cs
│ │ │ │ │ ├── MessageOriginHiddenUser.cs
│ │ │ │ │ └── MessageOriginUser.cs
│ │ │ │ ├── MessageReactionCountUpdated.cs
│ │ │ │ ├── MessageReactionUpdated.cs
│ │ │ │ ├── OwnedGift/
│ │ │ │ │ ├── OwnedGift.cs
│ │ │ │ │ ├── OwnedGiftRegular.cs
│ │ │ │ │ └── OwnedGiftUnique.cs
│ │ │ │ ├── OwnedGifts.cs
│ │ │ │ ├── PaidMedia/
│ │ │ │ │ ├── PaidMedia.cs
│ │ │ │ │ ├── PaidMediaLivePhoto.cs
│ │ │ │ │ ├── PaidMediaPhoto.cs
│ │ │ │ │ ├── PaidMediaPreview.cs
│ │ │ │ │ └── PaidMediaVideo.cs
│ │ │ │ ├── PaidMediaInfo.cs
│ │ │ │ ├── PaidMessagePriceChanged.cs
│ │ │ │ ├── PhotoSize.cs
│ │ │ │ ├── Poll.cs
│ │ │ │ ├── PollAnswer.cs
│ │ │ │ ├── PollMedia.cs
│ │ │ │ ├── PollOption.cs
│ │ │ │ ├── PollOptionAdded.cs
│ │ │ │ ├── PollOptionDeleted.cs
│ │ │ │ ├── PreparedInlineMessage.cs
│ │ │ │ ├── PreparedKeyboardButton.cs
│ │ │ │ ├── ProximityAlertTriggered.cs
│ │ │ │ ├── ReactionCount.cs
│ │ │ │ ├── ReactionType/
│ │ │ │ │ ├── ReactionType.cs
│ │ │ │ │ ├── ReactionTypeCustomEmoji.cs
│ │ │ │ │ ├── ReactionTypeEmoji.cs
│ │ │ │ │ └── ReactionTypePaid.cs
│ │ │ │ ├── ReplyMarkup/
│ │ │ │ │ ├── ForceReply.cs
│ │ │ │ │ ├── InlineKeyboardMarkup.cs
│ │ │ │ │ ├── ReplyKeyboardMarkup.cs
│ │ │ │ │ ├── ReplyKeyboardRemove.cs
│ │ │ │ │ └── ReplyMarkup.cs
│ │ │ │ ├── ReplyParameters.cs
│ │ │ │ ├── ResponseParameters.cs
│ │ │ │ ├── SentGuestMessage.cs
│ │ │ │ ├── SentWebAppMessage.cs
│ │ │ │ ├── SharedUser.cs
│ │ │ │ ├── StarAmount.cs
│ │ │ │ ├── Story.cs
│ │ │ │ ├── StoryArea.cs
│ │ │ │ ├── StoryAreaPosition.cs
│ │ │ │ ├── StoryAreaType/
│ │ │ │ │ ├── StoryAreaType.cs
│ │ │ │ │ ├── StoryAreaTypeLink.cs
│ │ │ │ │ ├── StoryAreaTypeLocation.cs
│ │ │ │ │ ├── StoryAreaTypeSuggestedReaction.cs
│ │ │ │ │ ├── StoryAreaTypeUniqueGift.cs
│ │ │ │ │ └── StoryAreaTypeWeather.cs
│ │ │ │ ├── SuggestedPostApprovalFailed.cs
│ │ │ │ ├── SuggestedPostApproved.cs
│ │ │ │ ├── SuggestedPostDeclined.cs
│ │ │ │ ├── SuggestedPostInfo.cs
│ │ │ │ ├── SuggestedPostPaid.cs
│ │ │ │ ├── SuggestedPostParameters.cs
│ │ │ │ ├── SuggestedPostPrice.cs
│ │ │ │ ├── SuggestedPostRefunded.cs
│ │ │ │ ├── SwitchInlineQueryChosenChat.cs
│ │ │ │ ├── TextQuote.cs
│ │ │ │ ├── UniqueGift.cs
│ │ │ │ ├── UniqueGiftBackdrop.cs
│ │ │ │ ├── UniqueGiftBackdropColors.cs
│ │ │ │ ├── UniqueGiftColors.cs
│ │ │ │ ├── UniqueGiftInfo.cs
│ │ │ │ ├── UniqueGiftModel.cs
│ │ │ │ ├── UniqueGiftSymbol.cs
│ │ │ │ ├── User.cs
│ │ │ │ ├── UserChatBoosts.cs
│ │ │ │ ├── UserProfileAudios.cs
│ │ │ │ ├── UserProfilePhotos.cs
│ │ │ │ ├── UserRating.cs
│ │ │ │ ├── UsersShared.cs
│ │ │ │ ├── Venue.cs
│ │ │ │ ├── Video.cs
│ │ │ │ ├── VideoChatEnded.cs
│ │ │ │ ├── VideoChatParticipantsInvited.cs
│ │ │ │ ├── VideoChatScheduled.cs
│ │ │ │ ├── VideoChatStarted.cs
│ │ │ │ ├── VideoNote.cs
│ │ │ │ ├── VideoQuality.cs
│ │ │ │ ├── Voice.cs
│ │ │ │ ├── WebAppData.cs
│ │ │ │ ├── WebAppInfo.cs
│ │ │ │ └── WriteAccessAllowed.cs
│ │ │ ├── BotRequestException.cs
│ │ │ ├── BotResponse.cs
│ │ │ ├── Constants/
│ │ │ │ ├── ChatActions.cs
│ │ │ │ ├── ChatTypes.cs
│ │ │ │ ├── FormatStyles.cs
│ │ │ │ ├── InlineKeyboardButtonTypes.cs
│ │ │ │ ├── MessageEntityTypes.cs
│ │ │ │ ├── PollTypes.cs
│ │ │ │ ├── Stickers/
│ │ │ │ │ ├── StickerFormats.cs
│ │ │ │ │ └── StickerTypes.cs
│ │ │ │ └── UpdateTypes.cs
│ │ │ ├── Converters/
│ │ │ │ ├── BackgroundFillConverter.cs
│ │ │ │ ├── BackgroundTypeConverter.cs
│ │ │ │ ├── BotCommandScopeConverter.cs
│ │ │ │ ├── ChatBoostSourceConverter.cs
│ │ │ │ ├── ChatMemberConverter.cs
│ │ │ │ ├── DiscriminatorJsonConverter.cs
│ │ │ │ ├── InlineQueryResultConverter.cs
│ │ │ │ ├── InputMediaConverter.cs
│ │ │ │ ├── InputMessageContentConverter.cs
│ │ │ │ ├── InputPaidMediaConverter.cs
│ │ │ │ ├── InputProfilePhotoConverter.cs
│ │ │ │ ├── InputStoryContentConverter.cs
│ │ │ │ ├── MaybeInaccessibleMessageConverter.cs
│ │ │ │ ├── MenuButtonConverter.cs
│ │ │ │ ├── MessageOriginConverter.cs
│ │ │ │ ├── OwnedGiftConverter.cs
│ │ │ │ ├── PaidMediaConverter.cs
│ │ │ │ ├── PassportElementErrorConverter.cs
│ │ │ │ ├── ReactionTypeConverter.cs
│ │ │ │ ├── ReplyMarkupConverter.cs
│ │ │ │ ├── RevenueWithdrawalStateConverter.cs
│ │ │ │ ├── StoryAreaTypeConverter.cs
│ │ │ │ └── TransactionPartnerConverter.cs
│ │ │ ├── Games/
│ │ │ │ ├── Args/
│ │ │ │ │ ├── SendGameArgs.cs
│ │ │ │ │ └── SetGameScoreArgs.cs
│ │ │ │ ├── CallbackGame.cs
│ │ │ │ ├── Game.cs
│ │ │ │ ├── GameHighScore.cs
│ │ │ │ ├── getGameHighScores.cs
│ │ │ │ ├── sendGame.cs
│ │ │ │ └── setGameScore.cs
│ │ │ ├── GettingUpdates/
│ │ │ │ ├── Args/
│ │ │ │ │ ├── GetUpdatesArgs.cs
│ │ │ │ │ └── SetWebhookArgs.cs
│ │ │ │ ├── Update.cs
│ │ │ │ ├── WebhookInfo.cs
│ │ │ │ ├── deleteWebhook.cs
│ │ │ │ ├── getUpdates.cs
│ │ │ │ ├── getWebhookInfo.cs
│ │ │ │ └── setWebhook.cs
│ │ │ ├── InlineMode/
│ │ │ │ ├── Args/
│ │ │ │ │ └── AnswerInlineQueryArgs.cs
│ │ │ │ ├── ChosenInlineResult.cs
│ │ │ │ ├── InlineQuery.cs
│ │ │ │ ├── InlineQueryResult/
│ │ │ │ │ ├── InlineQueryResult.cs
│ │ │ │ │ ├── InlineQueryResultArticle.cs
│ │ │ │ │ ├── InlineQueryResultAudio.cs
│ │ │ │ │ ├── InlineQueryResultCachedAudio.cs
│ │ │ │ │ ├── InlineQueryResultCachedDocument.cs
│ │ │ │ │ ├── InlineQueryResultCachedGif.cs
│ │ │ │ │ ├── InlineQueryResultCachedMpeg4Gif.cs
│ │ │ │ │ ├── InlineQueryResultCachedPhoto.cs
│ │ │ │ │ ├── InlineQueryResultCachedSticker.cs
│ │ │ │ │ ├── InlineQueryResultCachedVideo.cs
│ │ │ │ │ ├── InlineQueryResultCachedVoice.cs
│ │ │ │ │ ├── InlineQueryResultContact.cs
│ │ │ │ │ ├── InlineQueryResultDocument.cs
│ │ │ │ │ ├── InlineQueryResultGame.cs
│ │ │ │ │ ├── InlineQueryResultGif.cs
│ │ │ │ │ ├── InlineQueryResultLocation.cs
│ │ │ │ │ ├── InlineQueryResultMpeg4Gif.cs
│ │ │ │ │ ├── InlineQueryResultPhoto.cs
│ │ │ │ │ ├── InlineQueryResultVenue.cs
│ │ │ │ │ ├── InlineQueryResultVideo.cs
│ │ │ │ │ └── InlineQueryResultVoice.cs
│ │ │ │ ├── InlineQueryResultsButton.cs
│ │ │ │ ├── InputMessageContent/
│ │ │ │ │ ├── InputContactMessageContent.cs
│ │ │ │ │ ├── InputInvoiceMessageContent.cs
│ │ │ │ │ ├── InputLocationMessageContent.cs
│ │ │ │ │ ├── InputMessageContent.cs
│ │ │ │ │ ├── InputTextMessageContent.cs
│ │ │ │ │ └── InputVenueMessageContent.cs
│ │ │ │ └── answerInlineQuery.cs
│ │ │ ├── MethodNames.cs
│ │ │ ├── Payments/
│ │ │ │ ├── AffiliateInfo.cs
│ │ │ │ ├── Args/
│ │ │ │ │ ├── AnswerShippingQueryArgs.cs
│ │ │ │ │ ├── CreateInvoiceLinkArgs.cs
│ │ │ │ │ └── SendInvoiceArgs.cs
│ │ │ │ ├── Invoice.cs
│ │ │ │ ├── LabeledPrice.cs
│ │ │ │ ├── OrderInfo.cs
│ │ │ │ ├── PaidMediaPurchased.cs
│ │ │ │ ├── PreCheckoutQuery.cs
│ │ │ │ ├── RefundedPayment.cs
│ │ │ │ ├── RevenueWithdrawalState/
│ │ │ │ │ ├── RevenueWithdrawalState.cs
│ │ │ │ │ ├── RevenueWithdrawalStateFailed.cs
│ │ │ │ │ ├── RevenueWithdrawalStatePending.cs
│ │ │ │ │ └── RevenueWithdrawalStateSucceeded.cs
│ │ │ │ ├── ShippingAddress.cs
│ │ │ │ ├── ShippingOption.cs
│ │ │ │ ├── ShippingQuery.cs
│ │ │ │ ├── StarTransaction.cs
│ │ │ │ ├── StarTransactions.cs
│ │ │ │ ├── SuccessfulPayment.cs
│ │ │ │ ├── TransactionPartner/
│ │ │ │ │ ├── TransactionPartner.cs
│ │ │ │ │ ├── TransactionPartnerAffiliateProgram.cs
│ │ │ │ │ ├── TransactionPartnerChat.cs
│ │ │ │ │ ├── TransactionPartnerFragment.cs
│ │ │ │ │ ├── TransactionPartnerOther.cs
│ │ │ │ │ ├── TransactionPartnerTelegramAds.cs
│ │ │ │ │ ├── TransactionPartnerTelegramApi.cs
│ │ │ │ │ └── TransactionPartnerUser.cs
│ │ │ │ ├── answerPreCheckoutQuery.cs
│ │ │ │ ├── answerShippingQuery.cs
│ │ │ │ ├── createInvoiceLink.cs
│ │ │ │ ├── editUserStarSubscription.cs
│ │ │ │ ├── getMyStarBalance.cs
│ │ │ │ ├── getStarTransactions.cs
│ │ │ │ ├── refundStarPayment.cs
│ │ │ │ └── sendInvoice.cs
│ │ │ ├── PropertyNames.cs
│ │ │ ├── README.md
│ │ │ ├── Stickers/
│ │ │ │ ├── Args/
│ │ │ │ │ ├── AddStickerToSetArgs.cs
│ │ │ │ │ ├── CreateNewStickerSetArgs.cs
│ │ │ │ │ ├── GetCustomEmojiStickersArgs.cs
│ │ │ │ │ ├── ReplaceStickerInSetArgs.cs
│ │ │ │ │ ├── SendGiftArgs.cs
│ │ │ │ │ ├── SendStickerArgs.cs
│ │ │ │ │ ├── SetStickerEmojiListArgs.cs
│ │ │ │ │ ├── SetStickerKeywordsArgs.cs
│ │ │ │ │ ├── SetStickerMaskPositionArgs.cs
│ │ │ │ │ ├── SetStickerSetThumbnailArgs.cs
│ │ │ │ │ └── UploadStickerFileArgs.cs
│ │ │ │ ├── Gift.cs
│ │ │ │ ├── Gifts.cs
│ │ │ │ ├── InputSticker.cs
│ │ │ │ ├── MaskPosition.cs
│ │ │ │ ├── Sticker.cs
│ │ │ │ ├── StickerSet.cs
│ │ │ │ ├── addStickerToSet.cs
│ │ │ │ ├── createNewStickerSet.cs
│ │ │ │ ├── deleteStickerFromSet.cs
│ │ │ │ ├── deleteStickerSet.cs
│ │ │ │ ├── getAvailableGifts.cs
│ │ │ │ ├── getCustomEmojiStickers.cs
│ │ │ │ ├── getStickerSet.cs
│ │ │ │ ├── removeChatVerification.cs
│ │ │ │ ├── removeUserVerification.cs
│ │ │ │ ├── replaceStickerInSet.cs
│ │ │ │ ├── sendGift.cs
│ │ │ │ ├── sendSticker.cs
│ │ │ │ ├── setCustomEmojiStickerSetThumbnail.cs
│ │ │ │ ├── setStickerEmojiList.cs
│ │ │ │ ├── setStickerKeywords.cs
│ │ │ │ ├── setStickerMaskPosition.cs
│ │ │ │ ├── setStickerPositionInSet.cs
│ │ │ │ ├── setStickerSetThumbnail.cs
│ │ │ │ ├── setStickerSetTitle.cs
│ │ │ │ ├── uploadStickerFile.cs
│ │ │ │ ├── verifyChat.cs
│ │ │ │ └── verifyUser.cs
│ │ │ ├── Telegram.BotAPI.csproj
│ │ │ ├── TelegramBotClient.API.cs
│ │ │ ├── TelegramBotClient.ITelegramBotClient.cs
│ │ │ ├── TelegramBotClient.cs
│ │ │ ├── TelegramBotClientOptions.cs
│ │ │ ├── TelegramConstants.cs
│ │ │ ├── TelegramPassport/
│ │ │ │ ├── Args/
│ │ │ │ │ └── SetPassportDataErrorsArgs.cs
│ │ │ │ ├── EncryptedCredentials.cs
│ │ │ │ ├── EncryptedPassportElement.cs
│ │ │ │ ├── PassportData.cs
│ │ │ │ ├── PassportElementError/
│ │ │ │ │ ├── PassportElementError.cs
│ │ │ │ │ ├── PassportElementErrorDataField.cs
│ │ │ │ │ ├── PassportElementErrorFile.cs
│ │ │ │ │ ├── PassportElementErrorFiles.cs
│ │ │ │ │ ├── PassportElementErrorFrontSide.cs
│ │ │ │ │ ├── PassportElementErrorReverseSide.cs
│ │ │ │ │ ├── PassportElementErrorSelfie.cs
│ │ │ │ │ ├── PassportElementErrorTranslationFile.cs
│ │ │ │ │ ├── PassportElementErrorTranslationFiles.cs
│ │ │ │ │ └── PassportElementErrorUnspecified.cs
│ │ │ │ ├── PassportFile.cs
│ │ │ │ └── setPassportDataErrors.cs
│ │ │ ├── UpdatingMessages/
│ │ │ │ ├── Args/
│ │ │ │ │ ├── DeleteBusinessMessagesArgs.cs
│ │ │ │ │ ├── DeleteMessagesArgs.cs
│ │ │ │ │ ├── EditMessageCaptionArgs.cs
│ │ │ │ │ ├── EditMessageChecklistArgs.cs
│ │ │ │ │ ├── EditMessageLiveLocationArgs.cs
│ │ │ │ │ ├── EditMessageMediaArgs.cs
│ │ │ │ │ ├── EditMessageReplyMarkupArgs.cs
│ │ │ │ │ ├── EditMessageTextArgs.cs
│ │ │ │ │ ├── EditStoryArgs.cs
│ │ │ │ │ ├── GetBusinessAccountGiftsArgs.cs
│ │ │ │ │ ├── GiftPremiumSubscriptionArgs.cs
│ │ │ │ │ ├── PostStoryArgs.cs
│ │ │ │ │ ├── SendGiftArgs.cs
│ │ │ │ │ ├── SetBusinessAccountGiftSettingsArgs.cs
│ │ │ │ │ ├── SetBusinessAccountProfilePhotoArgs.cs
│ │ │ │ │ ├── StopMessageLiveLocationArgs.cs
│ │ │ │ │ └── StopPollArgs.cs
│ │ │ │ ├── approveSuggestedPost.cs
│ │ │ │ ├── convertGiftToStars.cs
│ │ │ │ ├── declineSuggestedPost.cs
│ │ │ │ ├── deleteAllMessageReactions.cs
│ │ │ │ ├── deleteBusinessMessages.cs
│ │ │ │ ├── deleteMessage.cs
│ │ │ │ ├── deleteMessageReaction.cs
│ │ │ │ ├── deleteMessages.cs
│ │ │ │ ├── deleteStory.cs
│ │ │ │ ├── editMessageCaption.cs
│ │ │ │ ├── editMessageChecklist.cs
│ │ │ │ ├── editMessageLiveLocation.cs
│ │ │ │ ├── editMessageMedia.cs
│ │ │ │ ├── editMessageReplyMarkup.cs
│ │ │ │ ├── editMessageText.cs
│ │ │ │ ├── editStory.cs
│ │ │ │ ├── getAvailableGifts.cs
│ │ │ │ ├── getBusinessAccountGifts.cs
│ │ │ │ ├── getBusinessAccountStarBalance.cs
│ │ │ │ ├── giftPremiumSubscription.cs
│ │ │ │ ├── postStory.cs
│ │ │ │ ├── readBusinessMessage.cs
│ │ │ │ ├── removeBusinessAccountProfilePhoto.cs
│ │ │ │ ├── removeChatVerification.cs
│ │ │ │ ├── removeUserVerification.cs
│ │ │ │ ├── sendGift.cs
│ │ │ │ ├── setBusinessAccountBio.cs
│ │ │ │ ├── setBusinessAccountGiftSettings.cs
│ │ │ │ ├── setBusinessAccountName.cs
│ │ │ │ ├── setBusinessAccountProfilePhoto.cs
│ │ │ │ ├── setBusinessAccountUsername.cs
│ │ │ │ ├── stopMessageLiveLocation.cs
│ │ │ │ ├── stopPoll.cs
│ │ │ │ ├── transferBusinessAccountStars.cs
│ │ │ │ ├── transferGift.cs
│ │ │ │ ├── upgradeGift.cs
│ │ │ │ ├── verifyChat.cs
│ │ │ │ └── verifyUser.cs
│ │ │ └── Usings.cs
│ │ └── Telegram.BotAPI.Extensions/
│ │ ├── Builders/
│ │ │ ├── AppendButtonOptions.cs
│ │ │ ├── InlineKeyboardBuilder.cs
│ │ │ ├── KeyboardBuilderBase.cs
│ │ │ └── ReplyKeyboardBuilder.cs
│ │ ├── Commands/
│ │ │ ├── BotCommandAttribute.cs
│ │ │ ├── BotCommandParser.cs
│ │ │ ├── BotCommandVisibility.cs
│ │ │ ├── BotCommandVisibilityAttribute.cs
│ │ │ └── LocalizedBotCommandAttribute.cs
│ │ ├── HtmlTextFormatter.cs
│ │ ├── IAsyncUpdateHandler.cs
│ │ ├── IUpdateHandler.cs
│ │ ├── LongPolling/
│ │ │ ├── LongPollingExtensions.cs
│ │ │ └── LongPollingOptions.cs
│ │ ├── README.md
│ │ ├── SimpleUpdateHandlerBase.cs
│ │ ├── Telegram.BotAPI.Extensions.csproj
│ │ ├── TelegramBotClientExtensions.cs
│ │ └── UpdateExtensions.cs
│ └── tests/
│ └── Telegram.BotAPI.Tests/
│ ├── Args.cs
│ ├── CommandParserTests.cs
│ ├── ConverterTests.cs
│ ├── ExtensionsTests.cs
│ ├── MethodTests.cs
│ ├── Serialization.cs
│ ├── Telegram.BotAPI.Tests.csproj
│ └── Usings.cs
└── tools/
├── .editorconfig
├── .vscode/
│ ├── launch.json
│ └── settings.json
├── README.md
├── constants.csx
├── generator.csx
├── main.csx
├── mapper.csx
├── models.csx
├── omnisharp.json
└── scrapper.csx
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitattributes
================================================
# Auto detect text files and perform LF normalization
* text=auto
================================================
FILE: .github/workflows/build.yaml
================================================
name: Build & Test
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore -c Release
- name: Test
run: dotnet test -c Release --no-build --verbosity normal
================================================
FILE: .github/workflows/close-inactive-issues.yaml
================================================
# This workflow will close issues that have been inactive for 60 days
name: Close inactive issues
on:
schedule:
- cron: "30 1 * * *"
jobs:
# Close issues that have been inactive for 60 days
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: -1
days-before-issue-close: 60
close-issue-message: "This issue was closed because it has been open for 60 days with no activity being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
================================================
FILE: .github/workflows/publish.yaml
================================================
name: Publish
on:
release:
types: [published]
workflow_dispatch:
jobs:
publish:
name: build, pack & publish
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
steps:
- uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release
- name: Test
run: dotnet test -c Release --no-build --verbosity normal
- name: Pack
run: dotnet pack -c Release -o ./nupkgs --no-build
- name: Publish
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_TOKEN }}
run: dotnet nuget push ./nupkgs/*.nupkg --api-key ${{ env.NUGET_AUTH_TOKEN }} --skip-duplicate -s https://api.nuget.org/v3/index.json
================================================
FILE: .gitignore
================================================
# Ignore vscode editor files
.vscode/*
# Ignore all folders named publish
**/publish/*
# Nuget packages
nuget.config
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2020-2025 Quetzal Rivera
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
| <img src="./docs/icon.png" alt="Logo" width="64"/> | <h1>Telegram.BotAPI</h1> |
| -------------------------------------------------- | ------------------------ |
[](https://www.nuget.org/packages/Telegram.BotAPI/)
[](https://core.telegram.org/bots/api#april-3-2026)
**Telegram.BotAPI** is one of the most complete libraries available to interact with the Telegram Bot API in your .NET projects. It contains all the methods and types available in the Bot API 10.0 released on May 8, 2026.
[](https://t.me/TBAPINET)
---
## Features
- Contains pre-defined methods for all Bot API 10.0 methods.
- Contains classes for each object type used in the Bot API 10.0.
- Sync and async methods.
- Uses [System.Text.Json](https://www.nuget.org/packages/System.Text.Json/).
---
## .NET platforms support
- NET Standard >= 2.0
- NET Core >= 2.0, .NET 6, .NET 8
- NET Framework >= 4.6.2
- Universal Windows Platform >= 10.0.16299
- Unity >= 2018.1
---
## Installation
### Install from the command line
```PowerShell
dotnet add PROJECT package Telegram.BotAPI
```
[Get package from Nuget Web Site](https://www.nuget.org/packages/Telegram.BotAPI/)
---
## How to use
First, get your **bot token** from [BotFather](https://t.me/BotFather) and use it to create a new instance of `Telegram.BotAPI.TelegramBotClient` as follows.
```CSharp
using Telegram.BotAPI;
var botToken = "bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11";
// You need a TelegramBotClient instance if you want access to the Bot API methods.
var client = new TelegramBotClient(botToken);
```
The methods and types are organized in namespaces according to their corresponding section on the [Official Bot API website](https://core.telegram.org/bots/api). So if you want to use a method or type, you must first include the corresponding namespace.
Currently the following namespaces are available:
| Name | Description |
| :------------------------------- | :------------------------------------------------- |
| Telegram.BotAPI | Contains the TelegramBotClient and other utilities |
| Telegram.BotAPI.GettingUpdates | Contains methods and types for getting updates |
| Telegram.BotAPI.AvailableTypes | Contains available types |
| Telegram.BotAPI.AvailableMethods | Contains available methods |
| Telegram.BotAPI.UpdatingMessages | Contains methods and types for updating messages |
| Telegram.BotAPI.Stickers | Contains methods and types for stickers |
| Telegram.BotAPI.InlineMode | Contains methods and types for inline mode |
| Telegram.BotAPI.Payments | Contains methods and types for payments |
| Telegram.BotAPI.TelegramPassport | Contains methods and types for Telegram Passport |
| Telegram.BotAPI.Games | Contains methods and types for games |
Once the namespaces are included, you are ready to start managing your bot. For example, you can use the [getMe](https://core.telegram.org/bots/api#getme) method to get basic information about your bot.
```CSharp
using Telegram.BotAPI.AvailableMethods;
var me = client.GetMe();
Console.WriteLine("My name is {0}.", me.FirstName);
```
## Getting updates
Every time a user interacts with a bot, bot will receive a new update. Updates contain information about user events, such as a new message or when a button is clicked. If you want your bot to reply to a message, then your bot must be able to get updates first.
Currently, there are two ways to get updates: [Long Polling](#long-polling) and [webhooks](#webhooks).
### Long Polling
To get updates using **Long Polling**, you must create a perpetual loop and check for updates using the getUpdates method. After all updates have been processed, you must mark them as read by setting the offset parameter to a value greater than the id of the last update. See the follow example:
```CSharp
using System.Linq;
using Telegram.BotAPI.GettingUpdates;
var updates = client.GetUpdates();
while (true)
{
if (updates.Any())
{
foreach (var update in updates)
{
// Process update
}
var offset = updates.Last().UpdateId + 1;
updates = client.GetUpdates(offset);
}
else
{
updates = client.GetUpdates();
}
}
```
### Webhooks
To receive updates through webhook, you must create a web application. In your ASP NET application, create a new api controller for your bot and define a function to receive the update as shown below.
```CSharp
using Telegram.BotAPI.GettingUpdates;
[HttpPost]
public IActionResult Post(
// The secret token is optional, but it's highly recommended to use it.
[FromHeader(Name = "X-Telegram-Bot-Api-Secret-Token")] string secretToken,
[FromBody] Update update)
{
if (update is null)
{
return BadRequest();
}
// Check if the secret token is valid
// Process your update
return Ok();
}
```
At the beginning of your application, you need to register your webhook using the API. In this way, Telegram will send new updates to your API controller. See the example below:
```CSharp
api.DeleteWebhook(true); // Delete old webhook
api.SetWebhook("https://example.com/<controller path>"); // Set new webhook
```
> It's high recommended to configurate a secret token to access the api controller through the setWebhook method. This will prevent third parties from accessing your api controller.
> Using a webhook will disable the `getUpdates` method. Use `deleteWebhook` to enable it again.
## Sending messages
Sending messages is the simplest and most important task of a bot. See the following example for sending text messages.
```CSharp
using Telegram.BotAPI.AvailableMethods;
long chatId = update.Message.Chat.Id; // Target chat Id
api.SendMessage(chatId, "Hello World!"); // Send a message
```
Your bot can also send multimedia messages like photos, gifs, videos, and others. See [Available methods](https://core.telegram.org/bots/api#available-methods) for learn more.
## Uploading files
You can also send attached files using InputFile objects. You have two ways to do it: By using an InputFile object directly or by using a dictionary of InputFile objects.
### Option 1
```CSharp
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.AvailableMethods;
var file = new InputFile(filebytes, "file.zip");
// Upload document
api.SendDocument(chatId, file);
```
### Option 2
```CSharp
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.AvailableMethods;
var file = new InputFile(filebytes, "file.zip");
var files = new Dictionary<string, InputFile>() {
{ "file56", file }
};
// Upload document
api.SendDocument(chatId, "attach://file56", files: files);
```
## Making custom requests
The library already includes all types and methods available in the Bot API. However, if you want to use your own types or if you want to be the first one to use new features when they are released, you can use the `CallMethod` and/or `CallMethodDirect` methods defined in the ITelegramBotClient instance.
```CSharp
var args = new Dictionary<string, object>() {
{ "chat_id", 123456789 },
{ "text", "Hello World!" }
};
// Message is the type you want to use to deserialize the response result. It can be an in-built type or a custom type created by you.
var message = client.CallMethod<Message>("sendMessage", args);
```
The previous method is used by all extension methods defined in the library. You can also create your own extension methods to make custom requests if you want.
```CSharp
public static class TelegramBotClientExtensions
{
public static Message SendHelloWorld(this ITelegramBotClient client, long chatId)
{
var args = new Dictionary<string, object>() {
{ "chat_id", chatId },
{ "text", "Hello World!" }
};
return client.CallMethod<Message>("sendMessage", args);
}
}
```
The library also includes the classes `MethodNames` and `PropertyNames` that contain the names of all methods and properties.
The `CallMethod` will trigger an exception if the response status code is not OK. If you don't like this behavior, you can use the `CallMethodDirect` method instead.
```CSharp
var args = new Dictionary<string, object>() {
{ "chat_id", 123456789 },
{ "text", "Hello World!" }
};
// BotResponse<Message>
var response = client.CallMethodDirect<Message>("sendMessage", args);
```
You'll get a `BotResponse<T>` object as a response. This object contains the status code, the deserialized result or null (if error), the error description and also some error parameters if available.
---
## Examples
You can see more examples [here](https://github.com/Eptagone/Telegram.BotAPI/tree/main/src/Telegram.BotAPI.Examples).
## License
[MIT](https://github.com/Eptagone/Telegram.BotAPI/blob/main/LICENSE)
## Release notes
[See release notes](https://github.com/Eptagone/Telegram.BotAPI/releases)
# Support this project
If you wish, you can donate through the following methods:
- [Buy me a cookie](https://www.buymeacoffee.com/eptagone)
- TON: [UQBRpyQ2pUOngdVr5HW8KQ7G8CToGS4o0WFAtUb3bQx4lt_0](ton://transfer/UQBRpyQ2pUOngdVr5HW8KQ7G8CToGS4o0WFAtUb3bQx4lt_0)
================================================
FILE: src/.editorconfig
================================================
[*.cs]
csharp_indent_braces = false
insert_final_newline = true
dotnet_diagnostic.ca1200.severity = suggestion
dotnet_diagnostic.ca1805.severity = suggestion
dotnet_diagnostic.cs8766.severity = silent
csharp_using_directive_placement = outside_namespace:silent
csharp_prefer_simple_using_statement = true:suggestion
csharp_prefer_braces = true:silent
csharp_style_namespace_declarations = file_scoped:suggestion
csharp_style_prefer_method_group_conversion = true:silent
csharp_style_prefer_top_level_statements = true:silent
csharp_style_expression_bodied_methods = true:none
csharp_style_expression_bodied_constructors = true:none
csharp_style_expression_bodied_operators = false:silent
csharp_style_expression_bodied_properties = true:silent
csharp_style_expression_bodied_indexers = true:silent
csharp_style_expression_bodied_accessors = true:silent
csharp_style_expression_bodied_lambdas = true:silent
csharp_style_expression_bodied_local_functions = false:silent
csharp_indent_labels = one_less_than_current
csharp_style_throw_expression = true:suggestion
csharp_style_prefer_null_check_over_type_check = true:suggestion
csharp_prefer_simple_default_expression = true:suggestion
csharp_style_prefer_local_over_anonymous_function = true:suggestion
csharp_style_prefer_index_operator = true:suggestion
csharp_style_prefer_range_operator = true:suggestion
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
csharp_style_prefer_tuple_swap = true:suggestion
csharp_style_prefer_utf8_string_literals = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion
csharp_style_deconstructed_variable_declaration = true:suggestion
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
csharp_space_around_binary_operators = before_and_after
csharp_prefer_static_local_function = true:suggestion
csharp_style_prefer_readonly_struct = true:suggestion
csharp_style_allow_embedded_statements_on_same_line_experimental = true:silent
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:silent
csharp_style_conditional_delegate_call = true:suggestion
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_prefer_pattern_matching = true:silent
csharp_style_prefer_switch_expression = true:suggestion
csharp_style_var_for_built_in_types = false:silent
csharp_style_prefer_extended_property_pattern = true:suggestion
csharp_style_prefer_not_pattern = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
csharp_style_var_when_type_is_apparent = false:silent
csharp_style_var_elsewhere = false:silent
csharp_style_prefer_primary_constructors = true:suggestion
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true:silent
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true:silent
# ReSharper properties
resharper_local_function_body = expression_body
[*.{cs,vb}]
dotnet_diagnostic.ca1707.severity = suggestion
dotnet_diagnostic.ca1710.severity = silent
dotnet_diagnostic.ca1713.severity = suggestion
dotnet_diagnostic.ca1727.severity = warning
[*.{cs,vb}]
#### Naming styles ####
# Naming rules
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
# Symbol specifications
dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.interface.required_modifiers =
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.types.required_modifiers =
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.non_field_members.required_modifiers =
# Naming styles
dotnet_naming_style.begins_with_i.required_prefix = I
dotnet_naming_style.begins_with_i.required_suffix =
dotnet_naming_style.begins_with_i.word_separator =
dotnet_naming_style.begins_with_i.capitalization = pascal_case
dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
dotnet_style_prefer_auto_properties = true:silent
dotnet_style_object_initializer = true:suggestion
dotnet_style_operator_placement_when_wrapping = beginning_of_line
tab_width = 4
indent_size = 4
end_of_line = lf
dotnet_style_collection_initializer = true:suggestion
dotnet_style_qualification_for_field = true:suggestion
dotnet_style_qualification_for_property = true:suggestion
dotnet_style_qualification_for_method = true:suggestion
dotnet_style_qualification_for_event = true:suggestion
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
dotnet_style_prefer_conditional_expression_over_return = true:silent
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_compound_assignment = true:suggestion
dotnet_style_prefer_simplified_interpolation = true:suggestion
dotnet_style_namespace_match_folder = true:suggestion
dotnet_style_readonly_field = true:suggestion
dotnet_style_predefined_type_for_locals_parameters_members = true:silent
dotnet_style_predefined_type_for_member_access = true:silent
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
dotnet_style_allow_multiple_blank_lines_experimental = true:silent
dotnet_style_allow_statement_immediately_after_block_experimental = true:silent
dotnet_code_quality_unused_parameters = all:suggestion
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
# Extra rules
file_header_template = Copyright (c) 2026 Quetzal Rivera.\nLicensed under the MIT License, See LICENCE in the project root for license information.
indent_style = space
================================================
FILE: src/.gitignore
================================================
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.tlog
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio 6 auto-generated project file (contains which files were open etc.)
*.vbp
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
*.dsw
*.dsp
# Visual Studio 6 technical files
*.ncb
*.aps
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# Visual Studio History (VSHistory) files
.vshistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
# VS Code files for those working on multiple tools
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
# Local History for Visual Studio Code
.history/
# Windows Installer files from build outputs
*.cab
*.msi
*.msix
*.msm
*.msp
# JetBrains Rider
*.sln.iml
.idea
================================================
FILE: src/Telegram.BotAPI.sln
================================================
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.32014.148
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Telegram.BotAPI", "library\Telegram.BotAPI\Telegram.BotAPI.csproj", "{333CEF37-B947-47CA-A339-9B14D4D7E20A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Library", "Library", "{E90CDF4A-2731-4F91-9BD7-4A40E04DF290}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{576E0D2C-631B-4C68-9AF4-0D99DC4E5951}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Telegram.BotAPI.Tests", "tests\Telegram.BotAPI.Tests\Telegram.BotAPI.Tests.csproj", "{14B3773F-CA9B-4AB7-A799-4CAD7A43D927}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{EEFA3271-1A58-4067-B29D-C1B1770C6082}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Telegram.BotAPI.Extensions", "library\Telegram.BotAPI.Extensions\Telegram.BotAPI.Extensions.csproj", "{BA0FF392-07D4-4C31-866B-93865F4E1FF2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{333CEF37-B947-47CA-A339-9B14D4D7E20A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{333CEF37-B947-47CA-A339-9B14D4D7E20A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{333CEF37-B947-47CA-A339-9B14D4D7E20A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{333CEF37-B947-47CA-A339-9B14D4D7E20A}.Release|Any CPU.Build.0 = Release|Any CPU
{14B3773F-CA9B-4AB7-A799-4CAD7A43D927}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{14B3773F-CA9B-4AB7-A799-4CAD7A43D927}.Debug|Any CPU.Build.0 = Debug|Any CPU
{14B3773F-CA9B-4AB7-A799-4CAD7A43D927}.Release|Any CPU.ActiveCfg = Release|Any CPU
{14B3773F-CA9B-4AB7-A799-4CAD7A43D927}.Release|Any CPU.Build.0 = Release|Any CPU
{BA0FF392-07D4-4C31-866B-93865F4E1FF2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BA0FF392-07D4-4C31-866B-93865F4E1FF2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BA0FF392-07D4-4C31-866B-93865F4E1FF2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BA0FF392-07D4-4C31-866B-93865F4E1FF2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{333CEF37-B947-47CA-A339-9B14D4D7E20A} = {E90CDF4A-2731-4F91-9BD7-4A40E04DF290}
{14B3773F-CA9B-4AB7-A799-4CAD7A43D927} = {576E0D2C-631B-4C68-9AF4-0D99DC4E5951}
{BA0FF392-07D4-4C31-866B-93865F4E1FF2} = {E90CDF4A-2731-4F91-9BD7-4A40E04DF290}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {85BE005E-491E-437E-BA2C-2202816F73AF}
EndGlobalSection
EndGlobal
================================================
FILE: src/examples/.dockerignore
================================================
**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/azds.yaml
**/bin
**/charts
**/docker-compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
LICENSE
README.md
================================================
FILE: src/examples/BotTemplate/BotTemplateSample.csproj
================================================
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>BotTemplateSample</RootNamespace>
<Nullable>annotations</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\library\Telegram.BotAPI\Telegram.BotAPI.csproj" />
<ProjectReference Include="..\..\library\Telegram.BotAPI.Extensions\Telegram.BotAPI.Extensions.csproj" />
</ItemGroup>
</Project>
================================================
FILE: src/examples/BotTemplate/MyBot.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System;
using System.Linq;
using System.Text.RegularExpressions;
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.Extensions;
using Telegram.BotAPI.GettingUpdates;
namespace BotTemplateSample
{
public sealed class MyBot : SimpleUpdateHandlerBase
{
public static readonly TelegramBotClient Bot = new("<BOT TOKEN>");
private static readonly User Me = Bot.GetMe();
public MyBot()
{
// Provides a better way to extract commands using regular expressions.
this.SetCommandExtractor(Me.Username!);
}
public override void OnUpdate(Update update)
{
Console.WriteLine(
"New update with id: {0}. Type: {1}",
update.UpdateId,
update.GetUpdateType()
);
base.OnUpdate(update);
}
protected override void OnMessage(Message message)
{
// Ignore user 777000 (Telegram)
if (message.From?.Id == TelegramConstants.TelegramId)
{
return;
}
Console.WriteLine("New message from chat id: {0}", message.Chat.Id);
Console.WriteLine("Message Text: {0}", message.Text ?? "|:O");
if (message.Chat.Type == ChatTypes.Private) // Private Chats
{
// Make something
}
// Group chats
// Check if the message contains a command
if (message.Entities?.Any(e => e.Type == "bot_command") is not true)
{
return;
}
// If the command includes a mention, you should verify that it is for your bot, otherwise you will need to ignore the command.
string? pattern = $@"^\/(?<COMMAND>\w*)(?:|@{Me.Username})(?:$|\s(?<PARAMETERS>.*))";
Match? match = Regex.Match(message.Text!, pattern, RegexOptions.IgnoreCase);
if (!match.Success)
{
return;
}
string? command = match.Groups.Values.Single(v => v.Name == "COMMAND").Value; // Get command name
string? @params =
match.Groups.Values.SingleOrDefault(v => v.Name == "PARAMETERS")?.Value
?? string.Empty;
Console.WriteLine("New command: {0}", command);
this.OnCommand(message, command, @params);
}
protected override void OnCommand(Message message, string cmd, string parameters)
{
string[]? args = parameters.Split(' ', StringSplitOptions.RemoveEmptyEntries);
Console.WriteLine("Params: {0}", args.Length);
switch (cmd)
{
case "hello":
string? hello = $"Hello World, {message.From?.FirstName}!";
Bot.SendMessage(message.Chat.Id, hello);
break;
}
}
protected override void OnException(Exception exp)
{
if (exp is BotRequestException botException)
{
Console.WriteLine("New BotException: {0}", botException.Message);
Console.WriteLine("Error Code: {0}", botException.ErrorCode);
}
else
{
Console.WriteLine("New Exception: {0}", exp.Message);
}
Console.WriteLine();
}
}
}
================================================
FILE: src/examples/BotTemplate/Program.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System;
using System.Linq;
using BotTemplateSample;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.GettingUpdates;
Console.WriteLine("Start!");
MyBot.Bot.SetMyCommands([new BotCommand("hello", "Hello World!!")]);
MyBot.Bot.DeleteWebhook();
// Long Polling: Start
var updates = MyBot.Bot.GetUpdates();
while (true)
{
if (updates.Any())
{
foreach (var update in updates)
{
var botInstance = new MyBot();
botInstance.OnUpdate(update);
}
var offset = updates.Last().UpdateId + 1;
updates = MyBot.Bot.GetUpdates(offset);
}
else
{
updates = MyBot.Bot.GetUpdates();
}
}
// Long Polling: End
================================================
FILE: src/examples/BotTemplate/readme.md
================================================
# Bot Templace - Sample
## Description
.NET Core console app
The bot sends "Hello World!" when it receives a message using TelegramBot base class.
## Preview

## Source Code
```CSharp
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
using Telegram.BotAPI;
using Telegram.BotAPI.GettingUpdates;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.InlineMode;
using Telegram.BotAPI.Payments;
namespace BotTemplateSample
{
class Program
{
static void Main()
{
Console.WriteLine("Start!");
MyBot.Bot.SetMyCommands(new BotCommand("hello", "Hello World!!"));
MyBot.StartPolling();
Console.Read();
}
}
public sealed class MyBot : TelegramBot
{
public static TelegramBotClient Bot = new TelegramBotClient("<your bot token>");
public static User Me = Bot.GetMe();
public static void StartPolling()
{
var updates = Bot.GetUpdates<IEnumerable<Update>>();
while (true)
{
if (updates.Any())
{
foreach (var update in updates)
{
var botInstance = new MyBot();
botInstance.OnUpdate(update);
}
var offset = updates.Last().UpdateId + 1;
updates = Bot.GetUpdates<IEnumerable<Update>>(offset);
}
else
{
updates = Bot.GetUpdates<IEnumerable<Update>>();
}
}
}
//
private Message message;
private bool hasText;
private User appUser;
public override void OnMessage(Message message)
{
// Ignore user 777000 (Telegram)
if (message.From.Id == 777000)
{
return;
}
Console.WriteLine("New message from chat id: {0}", message.Chat.Id);
appUser = message.From; // Save current user;
this.message = message; // Save current message;
hasText = !string.IsNullOrEmpty(message.Text); // True if message has text;
Console.WriteLine("Message Text: {0}", hasText ? message.Text : "|:O");
if (message.Chat.Type == ChatType.Private) // Private Chats
{
}
else // Group chats
{
}
if (hasText)
{
if (message.Text.StartsWith('/')) // New commands
{
var splitText = message.Text.Split(' ');
var command = splitText.First();
var parameters = splitText.Skip(1).ToArray();
// If the command includes a mention, you should verify that it is for your bot, otherwise you will need to ignore the command.
var pattern = string.Format(@"^\/(?<cmd>\w*)(?:$|@{0}$)", Me.Username);
var match = Regex.Match(command, pattern, RegexOptions.IgnoreCase);
if (match.Success)
{
command = match.Groups.Values.Last().Value; // Get command name
Console.WriteLine("New command: {0}", command);
OnCommand(command, parameters);
}
}
}
}
private void OnCommand(string cmd, string[] args)
{
Console.WriteLine("Params: {0}", args.Length);
switch (cmd)
{
case "hello":
var hello = string.Format("Hello World, {0}!", appUser.FirstName);
Bot.SendMessage(message.Chat.Id, hello);
break;
}
}
public override void OnBotException(BotRequestException exp)
{
Console.WriteLine("New BotException: {0}", exp.Message);
Console.WriteLine("Error Code: {0}", exp.ErrorCode);
Console.WriteLine();
}
public override void OnException(Exception exp)
{
Console.WriteLine("New Exception: {0}", exp.Message);
Console.WriteLine();
}
}
}
```
================================================
FILE: src/examples/Callback query button 01/Callback query button 01.csproj
================================================
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>CallbackQueryButton01</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\library\Telegram.BotAPI\Telegram.BotAPI.csproj" />
</ItemGroup>
</Project>
================================================
FILE: src/examples/Callback query button 01/Program.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.GettingUpdates;
using Telegram.BotAPI.UpdatingMessages;
Console.WriteLine("Start!");
TelegramBotClient bot = new("<your bot token>");
bot.SetMyCommands([new BotCommand("callback", "new callback")]);
// Long Polling
IEnumerable<Update> updates = bot.GetUpdates();
while (true)
{
if (updates.Any())
{
foreach (Update update in updates)
{
if (update.Message?.Chat is not null && !string.IsNullOrEmpty(update.Message.Text))
{
if (!update.Message.Text.Contains("/callback"))
{
continue;
}
InlineKeyboardMarkup replyMarkup = new(
new InlineKeyboardButton[][]
{
[new InlineKeyboardButton("Callback") { CallbackData = "callback_data" }],
}
);
bot.SendMessage(
update.Message.Chat.Id,
"Message with callback data",
replyMarkup: replyMarkup
);
}
else if (update.CallbackQuery?.Message is not null)
{
bot.AnswerCallbackQuery(update.CallbackQuery.Id, "HELLO");
bot.EditMessageText(
update.CallbackQuery.Message.Chat.Id,
update.CallbackQuery.Message.MessageId,
$"Click!\n\n{update.CallbackQuery.Data}"
);
}
}
updates = updates = bot.GetUpdates(updates.Max(u => u.UpdateId) + 1);
}
else
{
updates = bot.GetUpdates();
}
}
================================================
FILE: src/examples/Callback query button 01/readme.md
================================================
# Callback query button - Sample 01
## Description
.NET Core console app
Create a button with the /callback command
Pressing it edits the message, removing the button and typing new text.
## Preview

## Source Code
```CSharp
using System;
using System.Linq;
using Telegram.BotAPI;
using Telegram.BotAPI.GettingUpdates;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.UpdatingMessages;
namespace CallbackQueryButton01
{
class Program
{
static void Main()
{
Console.WriteLine("Start!");
var bot = new TelegramBotClient("<your bot token>");
bot.SetMyCommands(new BotCommand("callback", "new callback"));
var updates = bot.GetUpdates();
while (true)
{
if (updates.Length > 0)
{
foreach (var update in updates)
{
switch (update.Type)
{
case UpdateType.Message:
var message = update.Message;
if (message.Text.Contains("/callback"))
{
var replyMarkup = new InlineKeyboardMarkup
{
InlineKeyboard = new InlineKeyboardButton[][]{
new InlineKeyboardButton[]{
InlineKeyboardButton.SetCallbackData("Callback", "callback_data")
}
}
};
bot.SendMessage(message.Chat.Id, "Message with callback data", replyMarkup: replyMarkup);
}
break;
case UpdateType.CallbackQuery:
var query = update.CallbackQuery;
bot.AnswerCallbackQuery(query.Id, "HELLO");
bot.EditMessageText(new EditMessageTextArgs
{
ChatId = query.Message.Chat.Id,
MessageId = query.Message.MessageId,
Text = $"Click!\n\n{query.Data}"
});
break;
}
}
updates = updates = bot.GetUpdates(offset: updates.Max(u => u.UpdateId) + 1);
}
else
{
updates = bot.GetUpdates();
}
}
}
}
}
```
================================================
FILE: src/examples/Examples.sln
================================================
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.2.32519.379
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BotTemplateSample", "BotTemplate\BotTemplateSample.csproj", "{90EBAC9A-9A49-4A4B-A863-246EC41F5D59}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Callback query button 01", "Callback query button 01\Callback query button 01.csproj", "{0292D292-A156-4619-959F-70DB6F45440B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hello World", "Hello World\Hello World.csproj", "{2FBF087D-A1E6-47A7-9344-C17AA494150A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Poll Quiz 01", "Poll Quiz 01\Poll Quiz 01.csproj", "{CD140BB0-8F69-4A38-ABC0-49DEF01D4615}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReplyKeyboardMarkup 01", "ReplyKeyboardMarkup 01\ReplyKeyboardMarkup 01.csproj", "{295293AC-04D4-432F-BBA0-5A5F9A4F22F3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Telegram Calendar", "Telegram Calendar\Telegram Calendar.csproj", "{CB877447-C492-43E4-B7A9-3534B7619039}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HelloBotNET.Webhook", "HelloBotNET.Webhook\HelloBotNET.Webhook.csproj", "{4A7EC7DA-03F3-40B5-8993-DA90C5CC589C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "Examples", "{7A82B466-5509-490E-A490-D64D871CBA06}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Library", "Library", "{ADD476C3-7C77-421E-8A5F-F5DC41886727}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Telegram.BotAPI", "..\library\Telegram.BotAPI\Telegram.BotAPI.csproj", "{7885DD73-1782-4D0E-826E-C60C27C7648D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HelloBotNET.AppService", "HelloBotNET.AppService\HelloBotNET.AppService.csproj", "{40F07F65-6DF5-48D2-9C11-0D970BFA31A0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Telegram.BotAPI.Extensions", "..\library\Telegram.BotAPI.Extensions\Telegram.BotAPI.Extensions.csproj", "{5E7D52AF-3914-47AA-9136-A87520D8119D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{90EBAC9A-9A49-4A4B-A863-246EC41F5D59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{90EBAC9A-9A49-4A4B-A863-246EC41F5D59}.Debug|Any CPU.Build.0 = Debug|Any CPU
{90EBAC9A-9A49-4A4B-A863-246EC41F5D59}.Release|Any CPU.ActiveCfg = Release|Any CPU
{90EBAC9A-9A49-4A4B-A863-246EC41F5D59}.Release|Any CPU.Build.0 = Release|Any CPU
{0292D292-A156-4619-959F-70DB6F45440B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0292D292-A156-4619-959F-70DB6F45440B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0292D292-A156-4619-959F-70DB6F45440B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0292D292-A156-4619-959F-70DB6F45440B}.Release|Any CPU.Build.0 = Release|Any CPU
{2FBF087D-A1E6-47A7-9344-C17AA494150A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2FBF087D-A1E6-47A7-9344-C17AA494150A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2FBF087D-A1E6-47A7-9344-C17AA494150A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2FBF087D-A1E6-47A7-9344-C17AA494150A}.Release|Any CPU.Build.0 = Release|Any CPU
{CD140BB0-8F69-4A38-ABC0-49DEF01D4615}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CD140BB0-8F69-4A38-ABC0-49DEF01D4615}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CD140BB0-8F69-4A38-ABC0-49DEF01D4615}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CD140BB0-8F69-4A38-ABC0-49DEF01D4615}.Release|Any CPU.Build.0 = Release|Any CPU
{295293AC-04D4-432F-BBA0-5A5F9A4F22F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{295293AC-04D4-432F-BBA0-5A5F9A4F22F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{295293AC-04D4-432F-BBA0-5A5F9A4F22F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{295293AC-04D4-432F-BBA0-5A5F9A4F22F3}.Release|Any CPU.Build.0 = Release|Any CPU
{CB877447-C492-43E4-B7A9-3534B7619039}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CB877447-C492-43E4-B7A9-3534B7619039}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CB877447-C492-43E4-B7A9-3534B7619039}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CB877447-C492-43E4-B7A9-3534B7619039}.Release|Any CPU.Build.0 = Release|Any CPU
{4A7EC7DA-03F3-40B5-8993-DA90C5CC589C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4A7EC7DA-03F3-40B5-8993-DA90C5CC589C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4A7EC7DA-03F3-40B5-8993-DA90C5CC589C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4A7EC7DA-03F3-40B5-8993-DA90C5CC589C}.Release|Any CPU.Build.0 = Release|Any CPU
{7885DD73-1782-4D0E-826E-C60C27C7648D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7885DD73-1782-4D0E-826E-C60C27C7648D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7885DD73-1782-4D0E-826E-C60C27C7648D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7885DD73-1782-4D0E-826E-C60C27C7648D}.Release|Any CPU.Build.0 = Release|Any CPU
{40F07F65-6DF5-48D2-9C11-0D970BFA31A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{40F07F65-6DF5-48D2-9C11-0D970BFA31A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{40F07F65-6DF5-48D2-9C11-0D970BFA31A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{40F07F65-6DF5-48D2-9C11-0D970BFA31A0}.Release|Any CPU.Build.0 = Release|Any CPU
{5E7D52AF-3914-47AA-9136-A87520D8119D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5E7D52AF-3914-47AA-9136-A87520D8119D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5E7D52AF-3914-47AA-9136-A87520D8119D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5E7D52AF-3914-47AA-9136-A87520D8119D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{90EBAC9A-9A49-4A4B-A863-246EC41F5D59} = {7A82B466-5509-490E-A490-D64D871CBA06}
{0292D292-A156-4619-959F-70DB6F45440B} = {7A82B466-5509-490E-A490-D64D871CBA06}
{2FBF087D-A1E6-47A7-9344-C17AA494150A} = {7A82B466-5509-490E-A490-D64D871CBA06}
{CD140BB0-8F69-4A38-ABC0-49DEF01D4615} = {7A82B466-5509-490E-A490-D64D871CBA06}
{295293AC-04D4-432F-BBA0-5A5F9A4F22F3} = {7A82B466-5509-490E-A490-D64D871CBA06}
{CB877447-C492-43E4-B7A9-3534B7619039} = {7A82B466-5509-490E-A490-D64D871CBA06}
{4A7EC7DA-03F3-40B5-8993-DA90C5CC589C} = {7A82B466-5509-490E-A490-D64D871CBA06}
{7885DD73-1782-4D0E-826E-C60C27C7648D} = {ADD476C3-7C77-421E-8A5F-F5DC41886727}
{40F07F65-6DF5-48D2-9C11-0D970BFA31A0} = {7A82B466-5509-490E-A490-D64D871CBA06}
{5E7D52AF-3914-47AA-9136-A87520D8119D} = {ADD476C3-7C77-421E-8A5F-F5DC41886727}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {936E7344-448B-4497-970E-1AC2EC609933}
EndGlobalSection
EndGlobal
================================================
FILE: src/examples/Hello World/Hello World.csproj
================================================
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>HelloWorld</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\library\Telegram.BotAPI\Telegram.BotAPI.csproj" />
</ItemGroup>
</Project>
================================================
FILE: src/examples/Hello World/Program.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.GettingUpdates;
Console.WriteLine("Start!");
TelegramBotClient bot = new("<your bot token>");
// Long Polling
IEnumerable<Update> updates = bot.GetUpdates();
while (true)
{
if (updates.Any())
{
foreach (Update update in updates)
{
if (update.Message != null)
{
Message message = update.Message;
//bot.SendChatAction(message.Chat.Id, ChatAction.Typing);
bot.SendMessage(message.Chat.Id, "Hello World!");
}
}
updates = bot.GetUpdates(updates.Max(u => u.UpdateId) + 1);
}
else
{
updates = bot.GetUpdates();
}
}
================================================
FILE: src/examples/Hello World/readme.md
================================================
# Hello World - Sample
## Description
.NET Core console app
The bot sends "Hello World!" when it receives a message
## Preview

## Source Code
```CSharp
using System;
using System.Linq;
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.GettingUpdates;
namespace HelloWorld
{
class Program
{
static void Main()
{
Console.WriteLine("Start!");
var bot = new TelegramBotClient("<your bot token>");
var updates = bot.GetUpdates();
while (true)
{
if (updates.Length > 0)
{
foreach (var update in updates)
{
if (update.Type == UpdateType.Message)
{
var message = update.Message;
//bot.SendChatAction(message.Chat.Id, ChatAction.Typing);
bot.SendMessage(message.Chat.Id, "Hello World!");
}
}
updates = bot.GetUpdates(offset: updates.Max(u => u.UpdateId) + 1);
}
else
{
updates = bot.GetUpdates();
}
}
}
}
}
```
================================================
FILE: src/examples/HelloBotNET.AppService/HelloBotNET.AppService.csproj
================================================
<Project Sdk="Microsoft.NET.Sdk.Worker">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>dotnet-HelloBotNET-51BA3BFF-ACF3-4D96-B57C-8CFDD2B87F9E</UserSecretsId>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.1" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.15.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\library\Telegram.BotAPI\Telegram.BotAPI.csproj" />
<ProjectReference Include="..\..\library\Telegram.BotAPI.Extensions\Telegram.BotAPI.Extensions.csproj" />
</ItemGroup>
</Project>
================================================
FILE: src/examples/HelloBotNET.AppService/Program.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using HelloBotNET.AppService;
using HelloBotNET.AppService.Services;
IHost host = Host.CreateDefaultBuilder(args)
.ConfigureServices(
(_, services) =>
{
// Add bot service.
services.AddSingleton<HelloBot>();
// Add long polling service
services.AddHostedService<Worker>();
}
)
.Build();
await host.RunAsync();
================================================
FILE: src/examples/HelloBotNET.AppService/Properties/launchSettings.json
================================================
{
"profiles": {
"HelloBotNET.AppService": {
"commandName": "Project",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
},
"dotnetRunMessages": true
},
"Docker": {
"commandName": "Docker"
}
}
}
================================================
FILE: src/examples/HelloBotNET.AppService/Properties/serviceDependencies.json
================================================
{
"dependencies": {
"secrets1": {
"type": "secrets"
}
}
}
================================================
FILE: src/examples/HelloBotNET.AppService/Properties/serviceDependencies.local.json
================================================
{
"dependencies": {
"secrets1": {
"type": "secrets.user"
}
}
}
================================================
FILE: src/examples/HelloBotNET.AppService/Services/HelloBot.CommandHandler.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
namespace HelloBotNET.AppService.Services;
/// <summary>
/// It contains the main functionality of the telegram bot. <br />
/// The application creates a new instance of this class to process each update received.
/// </summary>
public partial class HelloBot
{
protected override void OnCommand(Message message, string commandName, string commandParameters)
{
string[] args = commandParameters.Split(' ');
#if DEBUG
this.logger.LogInformation("Params: {ArgsLenght}", args.Length);
#endif
switch (commandName)
{
case "hello": // Reply to /hello command
string hello = $"Hello World, {message.From!.FirstName}!";
this.Client.SendMessage(message.Chat.Id, hello);
break;
/*
case "command1":
// ...
break;
case "command2":
// ...
break;
*/
default:
if (message.Chat.Type == ChatTypes.Private)
{
this.Client.SendMessage(message.Chat.Id, "Unrecognized command.");
}
break;
}
}
}
================================================
FILE: src/examples/HelloBotNET.AppService/Services/HelloBot.ErrorHandler.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using Telegram.BotAPI;
namespace HelloBotNET.AppService.Services;
/// <summary>
/// It contains the main functionality of the telegram bot. <br />
/// The application creates a new instance of this class to process each update received.
/// </summary>
public partial class HelloBot
{
protected override void OnBotException(BotRequestException exp) =>
this.logger.LogError("BotRequestException: {Message}", exp.Message);
protected override void OnException(Exception exp) =>
this.logger.LogError("Exception: {Message}", exp.Message);
}
================================================
FILE: src/examples/HelloBotNET.AppService/Services/HelloBot.MessageHandler.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableTypes;
namespace HelloBotNET.AppService.Services;
/// <summary>
/// It contains the main functionality of the telegram bot. <br />
/// The application creates a new instance of this class to process each update received.
/// </summary>
public partial class HelloBot
{
protected override void OnMessage(Message message)
{
// Ignore user 777000 (Telegram)
if (message.From?.Id == TelegramConstants.TelegramId)
{
return;
}
bool hasText = !string.IsNullOrEmpty(message.Text); // True if message has text;
#if DEBUG
this.logger.LogInformation("New message from chat id: {ChatId}", message.Chat.Id);
this.logger.LogInformation("Message: {MessageContent}", hasText ? message.Text : "No text");
#endif
base.OnMessage(message);
}
}
================================================
FILE: src/examples/HelloBotNET.AppService/Services/HelloBot.UpdateHandler.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using Telegram.BotAPI.Extensions;
using Telegram.BotAPI.GettingUpdates;
namespace HelloBotNET.AppService.Services;
/// <summary>
/// It contains the main functionality of the telegram bot. <br />
/// The application creates a new instance of this class to process each update received.
/// </summary>
public partial class HelloBot
{
public override void OnUpdate(Update update)
{
#if DEBUG
this.logger.LogInformation(
"New update with id: {UpdateId}. Type: {UpdateType}",
update.UpdateId,
update.GetUpdateType()
);
#endif
base.OnUpdate(update);
}
}
================================================
FILE: src/examples/HelloBotNET.AppService/Services/HelloBot.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.Extensions;
namespace HelloBotNET.AppService.Services
{
/// <summary>
/// It contains the main functionality of the telegram bot. <br />
/// The application creates a new instance of this class to process each update received.
/// </summary>
public partial class HelloBot : SimpleUpdateHandlerBase
{
private readonly ILogger<HelloBot> logger;
public HelloBot(ILogger<HelloBot> logger, IConfiguration configuration)
{
this.logger = logger;
string? botToken = configuration.GetValue<string>("Telegram:BotToken");
this.Client = new TelegramBotClient(botToken);
string? myUsername = this.Client.GetMe().Username!;
// This will provide a better command filtering.
this.SetCommandExtractor(myUsername);
}
public ITelegramBotClient Client { get; }
}
}
================================================
FILE: src/examples/HelloBotNET.AppService/Worker.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using HelloBotNET.AppService.Services;
using Telegram.BotAPI;
using Telegram.BotAPI.GettingUpdates;
namespace HelloBotNET.AppService;
public class Worker(ILogger<Worker> logger, HelloBot bot) : BackgroundService
{
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
logger.LogInformation("Worker running at: {Time}", DateTimeOffset.Now);
ITelegramBotClient client = bot.Client;
// Long Polling
IEnumerable<Update> updates = await client.GetUpdatesAsync(
cancellationToken: stoppingToken
);
while (!stoppingToken.IsCancellationRequested)
{
if (updates.Any())
{
Parallel.ForEach(updates, this.ProcessUpdate);
updates = await client
.GetUpdatesAsync(updates.Last().UpdateId + 1, cancellationToken: stoppingToken)
.ConfigureAwait(false);
}
else
{
updates = await client
.GetUpdatesAsync(cancellationToken: stoppingToken)
.ConfigureAwait(false);
}
}
}
private void ProcessUpdate(Update update) => bot.OnUpdate(update);
public override Task StopAsync(CancellationToken cancellationToken)
{
logger.LogInformation("Worker stopping at: {Time}", DateTimeOffset.Now);
return base.StopAsync(cancellationToken);
}
}
================================================
FILE: src/examples/HelloBotNET.AppService/appsettings.Development.json
================================================
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}
================================================
FILE: src/examples/HelloBotNET.AppService/appsettings.json
================================================
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}
================================================
FILE: src/examples/HelloBotNET.AppService/readme.md
================================================
# HelloBotNET
This is a Hello World telegram bot made with NET 6 using Long Polling.
## How to Run
You just need to specify your **bot token** in the `HelloBotNET.AppService` project.
Your `secrets.json` or `appsettings.json` should look like the following code:
```JSON
{
"Telegram": {
"BotToken": "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11"
}
}
```
You can also use enviroment variables instead:
| Env | Description |
| :-------------------------------- | :--------------------------------------------------------------- |
| Telegram__BotToken | Your bot token provided by [@BotFather](https://t.me/BotFather). |
Finally, run `HelloBotNET.AppService` and see the magic.
================================================
FILE: src/examples/HelloBotNET.Webhook/Controllers/BotController.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using HelloBotNET.Webhook.Services;
using Microsoft.AspNetCore.Mvc;
using Telegram.BotAPI.GettingUpdates;
namespace HelloBotNET.Webhook.Controllers;
[ApiController]
[Route("[controller]")]
public class BotController : ControllerBase
{
private readonly HelloBot bot;
private readonly IConfiguration configuration;
private readonly ILogger<BotController> logger;
public BotController(ILogger<BotController> logger, IConfiguration configuration, HelloBot bot)
{
this.logger = logger;
this.configuration = configuration;
this.bot = bot;
}
[HttpPost]
public async Task<IActionResult> PostAsync(
[FromHeader(Name = "X-Telegram-Bot-Api-Secret-Token")] string webhookToken,
[FromBody] Update update,
CancellationToken cancellationToken
)
{
if (this.configuration["Telegram:WebhookToken"] != webhookToken)
{
#if DEBUG
this.logger.LogWarning("Failed access");
#endif
this.Unauthorized();
}
if (update == default)
{
#if DEBUG
this.logger.LogWarning("Invalid update detected");
#endif
return this.BadRequest();
}
this.bot.OnUpdate(update);
return await Task.FromResult(this.Ok());
}
}
================================================
FILE: src/examples/HelloBotNET.Webhook/Extensions/ApplicationBuilderExtensions.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using HelloBotNET.Webhook.Services;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.GettingUpdates;
namespace HelloBotNET.Webhook.Extensions;
/// <summary>
/// Extension methods for <see cref="IApplicationBuilder"/>.
/// </summary>
public static class ApplicationBuilderExtensions
{
/// <summary>
/// Registers the Telegram Webhook.
/// </summary>
/// <param name="app">The <see cref="IApplicationBuilder"/> instance this method extends.</param>
/// <returns>The <see cref="IApplicationBuilder"/> instance this method extends.</returns>
/// <exception cref="ArgumentNullException"></exception>
public static IApplicationBuilder UseTelegramWebhook(this IApplicationBuilder app)
{
if (app is null)
{
throw new ArgumentNullException(nameof(app));
}
var configuration = app.ApplicationServices.GetRequiredService<IConfiguration>();
var bot = app.ApplicationServices.GetRequiredService<HelloBot>();
var webhookToken = configuration["Telegram:WebhookToken"]; // ENV: Telegram__WebhookToken, JSON: "Telegram:WebhookToken"
var webhookUrl = configuration["Telegram:WebhookUrl"]; // ENV: Telegram__WebhookUrl, JSON: "Telegram:WebhookUrl"
// Delete my old commands
bot.Client.DeleteMyCommands();
// Set my commands
bot.Client.SetMyCommands([new BotCommand("hello", "Hello world!")]);
// Delete webhook
bot.Client.DeleteWebhook();
// Set webhook
bot.Client.SetWebhook(webhookUrl + "/bot", secretToken: webhookToken);
return app;
}
}
================================================
FILE: src/examples/HelloBotNET.Webhook/HelloBotNET.Webhook.csproj
================================================
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>HelloBotNET.Webhook</RootNamespace>
<UserSecretsId>d0d5de81-a20b-4e69-8762-ebf03c089384</UserSecretsId>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\library\Telegram.BotAPI\Telegram.BotAPI.csproj" />
<ProjectReference Include="..\..\library\Telegram.BotAPI.Extensions\Telegram.BotAPI.Extensions.csproj" />
</ItemGroup>
</Project>
================================================
FILE: src/examples/HelloBotNET.Webhook/Program.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using HelloBotNET.Webhook.Extensions;
using HelloBotNET.Webhook.Services;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddControllers();
// Add bot service.
builder.Services.AddSingleton<HelloBot>();
var app = builder.Build();
// Configure the HTTP request pipeline.
app.UseHttpsRedirection();
app.MapControllers();
// Register que webhook
app.UseTelegramWebhook();
app.Run();
================================================
FILE: src/examples/HelloBotNET.Webhook/Properties/launchSettings.json
================================================
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:4756",
"sslPort": 44311
}
},
"profiles": {
"HelloBotNET.Webhook": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:7001;http://localhost:7000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
================================================
FILE: src/examples/HelloBotNET.Webhook/Services/HelloBot.CommandHandler.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
namespace HelloBotNET.Webhook.Services;
/// <summary>
/// It contains the main functionality of the telegram bot. <br />
/// The application creates a new instance of this class to process each update received.
/// </summary>
public partial class HelloBot
{
protected override void OnCommand(Message message, string commandName, string commandParameters)
{
string[] args = commandParameters.Split(' ');
#if DEBUG
this.logger.LogInformation("Params: {ArgsLenght}", args.Length);
#endif
switch (commandName)
{
case "hello": // Reply to /hello command
string hello = $"Hello World, {message.From!.FirstName}!";
this.Client.SendMessage(message.Chat.Id, hello);
break;
/*
case "command1":
// ...
break;
case "command2":
// ...
break;
*/
default:
if (message.Chat.Type == ChatTypes.Private)
{
this.Client.SendMessage(message.Chat.Id, "Unrecognized command.");
}
break;
}
}
}
================================================
FILE: src/examples/HelloBotNET.Webhook/Services/HelloBot.ErrorHandler.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using Telegram.BotAPI;
namespace HelloBotNET.Webhook.Services;
/// <summary>
/// It contains the main functionality of the telegram bot. <br />
/// The application creates a new instance of this class to process each update received.
/// </summary>
public partial class HelloBot
{
protected override void OnBotException(BotRequestException exp) =>
this.logger.LogError("BotRequestException: {Message}", exp.Message);
protected override void OnException(Exception exp) =>
this.logger.LogError("Exception: {Message}", exp.Message);
}
================================================
FILE: src/examples/HelloBotNET.Webhook/Services/HelloBot.MessageHandler.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableTypes;
namespace HelloBotNET.Webhook.Services;
/// <summary>
/// It contains the main functionality of the telegram bot. <br />
/// The application creates a new instance of this class to process each update received.
/// </summary>
public partial class HelloBot
{
protected override void OnMessage(Message message)
{
// Ignore user 777000 (Telegram)
if (message.From?.Id == TelegramConstants.TelegramId)
{
return;
}
bool hasText = !string.IsNullOrEmpty(message.Text); // True if message has text;
#if DEBUG
this.logger.LogInformation("New message from chat id: {ChatId}", message.Chat.Id);
this.logger.LogInformation("Message: {MessageContent}", hasText ? message.Text : "No text");
#endif
base.OnMessage(message);
}
}
================================================
FILE: src/examples/HelloBotNET.Webhook/Services/HelloBot.UpdateHandler.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using Telegram.BotAPI.Extensions;
using Telegram.BotAPI.GettingUpdates;
namespace HelloBotNET.Webhook.Services;
/// <summary>
/// It contains the main functionality of the telegram bot. <br />
/// The application creates a new instance of this class to process each update received.
/// </summary>
public partial class HelloBot
{
public override void OnUpdate(Update update)
{
#if DEBUG
this.logger.LogInformation(
"New update with id: {UpdateId}. Type: {UpdateType}",
update.UpdateId,
update.GetUpdateType()
);
#endif
base.OnUpdate(update);
}
}
================================================
FILE: src/examples/HelloBotNET.Webhook/Services/HelloBot.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.Extensions;
namespace HelloBotNET.Webhook.Services;
/// <summary>
/// It contains the main functionality of the telegram bot. <br />
/// The application creates a new instance of this class to process each update received.
/// </summary>
public partial class HelloBot : SimpleUpdateHandlerBase
{
private readonly ILogger<HelloBot> logger;
public HelloBot(ILogger<HelloBot> logger, IConfiguration configuration)
{
this.logger = logger;
string botToken =
configuration.GetValue<string>("Telegram:BotToken")
?? throw new ArgumentNullException("Telegram:BotToken");
this.Client = new TelegramBotClient(botToken);
string myUsername = this.Client.GetMe().Username!;
// This will provide a better command filtering.
this.SetCommandExtractor(myUsername);
}
public ITelegramBotClient Client { get; }
}
================================================
FILE: src/examples/HelloBotNET.Webhook/appsettings.Development.json
================================================
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}
================================================
FILE: src/examples/HelloBotNET.Webhook/appsettings.json
================================================
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}
================================================
FILE: src/examples/HelloBotNET.Webhook/readme.md
================================================
# HelloBotNET
This is a Hello World telegram bot made with NET 6 using a webhook.
## How to Run
If you want to run this bot you need to specify your **bot token**, the **application url** and a **secret token** in the `HelloBotNET.Webhook` project. Optionally, you can specify the **certificate** path to use with your webhook.
Your `secrets.json` or `appsettings.json` should look like the following code:
```JSON
{
//"Certificate": "/etc/ssl/certs/custom_cert.pem",
"Telegram": {
"BotToken": "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11",
"WebhookUrl": "https://www.example.com",
"WebhookToken": "SUPERSECRETPATH"
}
}
```
You can also use enviroment variables instead:
| Env | Description |
| :-------------------------------- | :--------------------------------------------------------------- |
| Certificate | Optional. Certificate Path. |
| Telegram__BotToken | Your bot token provided by [@BotFather](https://t.me/BotFather). |
| Telegram__WebhookUrl | Your application url. Ex: <https://example.com> |
| Telegram__WebhookToken | Your secret token. It must be specified by yourself. |
Finally, run `HelloBotNET.Webhook` and see the magic.
================================================
FILE: src/examples/Poll Quiz 01/Poll Quiz 01.csproj
================================================
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>Poll_Quiz_01</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\library\Telegram.BotAPI\Telegram.BotAPI.csproj" />
</ItemGroup>
</Project>
================================================
FILE: src/examples/Poll Quiz 01/Program.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.GettingUpdates;
Console.WriteLine("Start!");
TelegramBotClient bot = new("<BOT TOKEN>");
bot.SetMyCommands([new BotCommand("quiz", "New quiz")]);
// Long Polling
IEnumerable<Update> updates = bot.GetUpdates();
while (true)
{
if (updates.Any())
{
foreach (Update update in updates)
{
if (update.Message?.Text?.Contains("/quiz") is true)
{
bot.SendPoll(
new SendPollArgs(
update.Message.Chat.Id,
"¿5 + 5?",
[
new InputPollOption("56"),
new InputPollOption("7"),
new InputPollOption("10"),
new InputPollOption("-4"),
]
)
{
Type = "quiz",
CorrectOptionId = 2,
}
);
}
}
updates = bot.GetUpdates(updates.Max(u => u.UpdateId) + 1);
}
else
{
updates = bot.GetUpdates();
}
}
================================================
FILE: src/examples/Poll Quiz 01/readme.md
================================================
# Poll Quiz - Sample 01
## Description
.NET Core console app
Create a quiz from the new polls 2.0
## Preview

## Source Code
```CSharp
using System;
using System.Linq;
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.GettingUpdates;
namespace Poll_Quiz_01
{
class Program
{
static void Main()
{
Console.WriteLine("Start!");
var bot = new TelegramBotClient("<your bot token>");
bot.SetMyCommands(new BotCommand("quiz", "New quiz"));
var updates = bot.GetUpdates();
while (true)
{
if (updates.Length > 0)
{
foreach (var update in updates)
{
switch (update.Type)
{
case UpdateType.Message:
if (update.Message.Text.Contains("/quiz"))
{
bot.SendPoll(new SendPollArgs
{
ChatId = update.Message.Chat.Id,
Question = "¿5 + 5?",
Options = new string[]{
"56", "7", "10", "-4"
},
Type = "quiz",
CorrectOptionId = 2
});
}
break;
}
}
updates = bot.GetUpdates(offset: updates.Max(u => u.UpdateId) + 1);
}
else
{
updates = bot.GetUpdates();
}
}
}
}
}
```
================================================
FILE: src/examples/ReplyKeyboardMarkup 01/Program.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.GettingUpdates;
Console.WriteLine("Start!");
TelegramBotClient client = new("<your bot token>");
client.SetMyCommands([new BotCommand("reply", "ReplyMarkup"), new BotCommand("del", "Delete")]);
// Long Polling
IEnumerable<Update> updates = client.GetUpdates();
while (true)
{
if (updates.Any())
{
foreach (Update update in updates)
{
if (!string.IsNullOrEmpty(update.Message?.Text))
{
if (update.Message.Text.Contains("/reply"))
{
ReplyKeyboardMarkup keyboard = new(
[
[
new KeyboardButton("Button 1"), //column 1 row 1
new KeyboardButton(
"Button 2"
) //column 1 row 2
,
], // column 1
[
new KeyboardButton(
"Button 3"
) //col 2 row 1
,
] // column 2
,
]
)
{
ResizeKeyboard = true,
};
client.SendMessage(
update.Message.Chat.Id,
"new keyboard",
replyMarkup: keyboard
);
}
if (update.Message.Text.Contains("/del"))
{
client.SendMessage(
update.Message.Chat.Id,
"remove reply keyboard",
replyMarkup: new ReplyKeyboardRemove()
);
}
}
}
updates = client.GetUpdates(updates.Max(u => u.UpdateId) + 1);
}
else
{
updates = client.GetUpdates();
}
}
================================================
FILE: src/examples/ReplyKeyboardMarkup 01/ReplyKeyboardMarkup 01.csproj
================================================
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>ReplyKeyboardMarkup_01</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\library\Telegram.BotAPI\Telegram.BotAPI.csproj" />
</ItemGroup>
</Project>
================================================
FILE: src/examples/ReplyKeyboardMarkup 01/readme.md
================================================
# Reply keyboard markup - Sample 01
## Description
.NET Core console app
Create a reply keyboard
## Preview

## Source Code
```CSharp
using System;
using System.Linq;
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.GettingUpdates;
namespace ReplyKeyboardMarkup_01
{
class Program
{
static void Main()
{
Console.WriteLine("Start!");
var bot = new TelegramBotClient("<your bot token>");
var updates = bot.GetUpdates();
bot.SetMyCommands(new BotCommand("reply", "ReplyMarkup"), new BotCommand("del", "Delete"));
while (true)
{
if (updates.Length > 0)
{
foreach (var update in updates)
{
switch (update.Type)
{
case UpdateType.Message:
if (update.Message.Text.Contains("/reply"))
{
var keyboard = new ReplyKeyboardMarkup
{
Keyboard = new KeyboardButton[][]{
new KeyboardButton[]{
new KeyboardButton("Button 1"), //column 1 row 1
new KeyboardButton("Button 2") //column 1 row 2
},// column 1
new KeyboardButton[]{
new KeyboardButton("Button 3") //col 2 row 1
} // column 2
},
ResizeKeyboard = true
}; ;
bot.SendMessage(update.Message.Chat.Id, "new keyboard", replyMarkup: keyboard);
}
if (update.Message.Text.Contains("/del"))
{
bot.SendMessage(update.Message.Chat.Id, "remove reply keyboard", replyMarkup: new ReplyKeyboardRemove());
}
break;
}
}
updates = bot.GetUpdates(offset: updates.Max(u => u.UpdateId) + 1);
}
else
{
updates = bot.GetUpdates();
}
}
}
}
}
```
================================================
FILE: src/examples/Telegram Calendar/Calendar.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System;
using IKB = Telegram.BotAPI.AvailableTypes.InlineKeyboardButton;
namespace TelegramCalendar;
public static class Calendar
{
public static IKB[][] New(DateTime dateTime)
{
var year = dateTime.Year;
var keyboard = new IKB[6][];
keyboard[0] = [new IKB($"{year}") { CallbackData = $"Year {year}" }];
for (int i = 1, n = 0; i < 5; i++)
{
keyboard[i] = new IKB[3];
for (int j = 0; j < 3; j++, n++)
{
var month = (MonthName)n;
keyboard[i][j] = new IKB($"{month}") { CallbackData = $"month {year} {n}" };
}
}
keyboard[5] =
[
new IKB($"{year - 1}") { CallbackData = $"year {year - 1}" },
new IKB($"{year + 1}") { CallbackData = $"year {year + 1}" },
];
return keyboard;
}
public static IKB[][] New(Month mon)
{
var calendar = new IKB[mon.Weeks + 3][];
var pos = 0;
calendar[0] = [new IKB($"{mon.Name} {mon.Year}") { CallbackData = $"year {mon.Year}" }];
var days = new[] { "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" };
calendar[1] = new IKB[7];
for (int i = 0; i < 7; i++)
{
calendar[1][i] = new IKB(days[i]) { CallbackData = $"{((DayOfWeek)i)}" };
}
for (int i = 2; i < mon.Weeks + 2; i++)
{
calendar[i] = new IKB[7];
for (int j = 0; j < 7; j++)
{
if (pos < mon.Days.Length)
{
if ((int)mon.Days[pos].Name == j)
{
calendar[i][j] = new IKB($"{mon.Days[pos].Number}")
{
CallbackData =
$"{mon.Days[pos].Name}, {mon.Name} {mon.Days[pos].Number}",
};
pos++;
}
else
{
calendar[i][j] = new IKB("*") { CallbackData = "Empty day" };
}
}
else
{
calendar[i][j] = new IKB("*") { CallbackData = "Empty day" };
}
}
}
calendar[^1] = new IKB[2];
var previousMonth = mon.Name == MonthName.January ? MonthName.December : mon.Name - 1;
var nextMonth = mon.Name == MonthName.December ? MonthName.January : mon.Name + 1;
var previousYear = previousMonth == MonthName.December ? mon.Year - 1 : mon.Year;
var nextYear = nextMonth == MonthName.January ? mon.Year + 1 : mon.Year;
calendar[^1][0] = new IKB($"{previousMonth}")
{
CallbackData = $"month {previousYear} {(ushort)previousMonth}",
};
calendar[^1][1] = new IKB($"{nextMonth}")
{
CallbackData = $"month {nextYear} {(ushort)nextMonth}",
};
return calendar;
}
public static IKB[][] New(uint year)
{
var keyboard = new IKB[6][];
keyboard[0] = [new IKB($"{year}") { CallbackData = $"Year {year}" }];
for (int i = 1, n = 0; i < 5; i++)
{
keyboard[i] = new IKB[3];
for (int j = 0; j < 3; j++, n++)
{
var month = (MonthName)n;
keyboard[i][j] = new IKB($"{month}") { CallbackData = $"month {year} {n}" };
}
}
keyboard[5] =
[
new IKB($"{year - 1}") { CallbackData = $"year {year - 1}" },
new IKB($"{year + 1}") { CallbackData = $"year {year + 1}" },
];
return keyboard;
}
}
================================================
FILE: src/examples/Telegram Calendar/CalendarBot.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System;
using System.Linq;
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.Extensions;
using Telegram.BotAPI.UpdatingMessages;
namespace TelegramCalendar;
public sealed class CalendarBot : SimpleUpdateHandlerBase
{
public TelegramBotClient Client { get; } = new("<your bot token>");
protected override void OnMessage(Message message)
{
var text = message.Text;
if (string.IsNullOrEmpty(text) || !text.Contains("/calendar"))
{
return;
}
var rm = new InlineKeyboardMarkup(Calendar.New(DateTime.Now));
this.Client.SendMessage(
message.Chat.Id,
"🗓 <b>Telegram Bot Calendar</b> 🗓",
parseMode: FormatStyles.HTML,
replyMarkup: rm
);
}
protected override void OnCallbackQuery(CallbackQuery query)
{
if (query.Message is null || string.IsNullOrEmpty(query.Data))
{
return;
}
var queryArgs = query.Data.Split(' ');
switch (queryArgs.ElementAt(0))
{
case "month":
var month = new Month(
(MonthName)Enum.Parse(typeof(MonthName), queryArgs[2]),
uint.Parse(queryArgs[1])
);
this.Client.EditMessageReplyMarkup(
query.Message.Chat.Id,
query.Message.MessageId,
replyMarkup: new InlineKeyboardMarkup(Calendar.New(month))
);
break;
case "year":
this.Client.EditMessageReplyMarkup(
query.Message.Chat.Id,
query.Message.MessageId,
replyMarkup: new InlineKeyboardMarkup(Calendar.New(uint.Parse(queryArgs[1])))
);
break;
default:
this.Client.AnswerCallbackQuery(query.Id, query.Data, true);
break;
}
}
protected override void OnException(Exception exp)
{
if (exp is BotRequestException)
{
Console.WriteLine("Bot Exception: {0}.", exp.Message);
}
else
{
Console.WriteLine("Exception: {0}.", exp.Message);
}
}
}
================================================
FILE: src/examples/Telegram Calendar/Models/Day.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System;
namespace TelegramCalendar;
public sealed class Day(DayOfWeek name, ushort number)
{
public DayOfWeek Name { get; set; } = name;
public ushort Number { get; set; } = number;
}
================================================
FILE: src/examples/Telegram Calendar/Models/Month.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System;
namespace TelegramCalendar;
public sealed class Month
{
public Month(MonthName monthName, uint year)
{
this.Name = monthName;
this.Year = year;
bool leapYear = this.Year % 4 == 0;
int days = this.Name switch
{
MonthName.February => leapYear ? 29 : 28,
MonthName.April => 30,
MonthName.June => 30,
MonthName.September => 30,
MonthName.November => 30,
_ => 31,
};
this.Days = new Day[days];
long firstDay =
(year * 365)
+ (leapYear ? -1 : 0)
+ ((year - (year % 4)) / 4)
- ((year - (year % 400)) / 400)
+ 4;
int month = (int)monthName;
firstDay += month < 1 ? 0 : 31;
firstDay +=
month < 2 ? 0
: leapYear ? 29
: 28;
firstDay += month < 3 ? 0 : 31;
firstDay += month < 4 ? 0 : 30;
firstDay += month < 5 ? 0 : 31;
firstDay += month < 6 ? 0 : 30;
firstDay += month < 7 ? 0 : 31;
firstDay += month < 8 ? 0 : 31;
firstDay += month < 9 ? 0 : 30;
firstDay += month < 10 ? 0 : 31;
firstDay += month < 11 ? 0 : 30;
firstDay %= 7;
for (int i = 0; i < this.Days.Length; i++)
{
this.Days[i] = new Day((DayOfWeek)((i + firstDay) % 7), (ushort)(i + 1));
}
}
public uint Year { get; set; }
public MonthName Name { get; set; }
public Day[] Days { get; set; }
public ushort Weeks
{
get
{
int days = (int)this.Days[0].Name + this.Days.Length - 1;
return (ushort)(((days - (days % 7)) / 7) + (days % 7 > 0 ? 1 : 0));
}
}
}
================================================
FILE: src/examples/Telegram Calendar/Models/MonthName.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
namespace TelegramCalendar;
public enum MonthName
{
January,
February,
March,
April,
May,
June,
July,
August,
September,
October,
November,
December,
}
================================================
FILE: src/examples/Telegram Calendar/Program.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.GettingUpdates;
using TelegramCalendar;
Console.WriteLine("Start!");
CalendarBot bot = new();
bot.Client.SetMyCommands([new BotCommand("calendar", "Telegram Calendar")]);
// Long Polling
IEnumerable<Update> updates = bot.Client.GetUpdates(
allowedUpdates: [UpdateTypes.Message, UpdateTypes.CallbackQuery]
);
while (true)
{
if (updates.Any())
{
foreach (Update update in updates)
{
bot.OnUpdate(update);
}
updates = bot.Client.GetUpdates(updates.Max(u => u.UpdateId) + 1);
}
else
{
updates = bot.Client.GetUpdates();
}
}
================================================
FILE: src/examples/Telegram Calendar/Telegram Calendar.csproj
================================================
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>TelegramCalendar</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\library\Telegram.BotAPI\Telegram.BotAPI.csproj" />
<ProjectReference Include="..\..\library\Telegram.BotAPI.Extensions\Telegram.BotAPI.Extensions.csproj" />
</ItemGroup>
</Project>
================================================
FILE: src/examples/Telegram Calendar/readme.md
================================================
# Telegram Bot Calendar
## Description
.NET Core console app
A simple calendar with inline buttons and callback queries.
## Preview

## Source Code
```CSharp
// By Quetzal Rivera
using System;
using System.Linq;
using Telegram.BotAPI;
using Telegram.BotAPI.AvailableMethods;
using Telegram.BotAPI.AvailableTypes;
using Telegram.BotAPI.GettingUpdates;
using Telegram.BotAPI.UpdatingMessages;
namespace TelegramCalendar
{
class Program
{
private static TelegramBotClient bot = new TelegramBotClient("<your bot token>");
static void Main()
{
Console.WriteLine("Start!");
bot.SetMyCommands(new BotCommand("calendar", "Telegram Calendar"));
var updates = bot.GetUpdates();
while (true)
{
if (updates.Length > 0)
{
foreach (var update in updates)
{
switch (update.Type)
{
case UpdateType.Message:
OnMessage(update.Message);
break;
case UpdateType.CallbackQuery:
OnCallbackQuery(update.CallbackQuery);
break;
}
}
updates = bot.GetUpdates(offset: updates.Max(u => u.UpdateId) + 1);
}
else
{
updates = bot.GetUpdates();
}
}
}
private static void OnMessage(Message message)
{
if (message.Text.Contains("/calendar"))
{
var rm = new InlineKeyboardMarkup
{
InlineKeyboard = CreateCalendar(2021)
};
bot.SendMessage(message.Chat.Id, "🗓 <b>Telegram Bot Calendar</b> 🗓", parseMode: ParseMode.HTML, replyMarkup: rm);
}
}
private static void OnCallbackQuery(CallbackQuery query)
{
var cbargs = query.Data.Split(' ');
switch (cbargs[0])
{
case "month":
var month = new Month((MonthName)Enum.Parse(typeof(MonthName), cbargs[2]), uint.Parse(cbargs[1]));
var mkeyboard = new InlineKeyboardMarkup
{
InlineKeyboard = CreateCalendar(month)
};
bot.EditMessageReplyMarkup<Message>(new EditMessageReplyMarkup
{
ChatId = query.Message.Chat.Id,
MessageId = query.Message.MessageId,
ReplyMarkup = mkeyboard
});
break;
case "year":
var ykeyboard = new InlineKeyboardMarkup
{
InlineKeyboard = CreateCalendar(uint.Parse(cbargs[1]))
};
bot.EditMessageReplyMarkup<Message>(new EditMessageReplyMarkup
{
ChatId = query.Message.Chat.Id,
MessageId = query.Message.MessageId,
ReplyMarkup = ykeyboard
});
break;
default:
bot.AnswerCallbackQuery(new AnswerCallbackQueryArgs
{
CallbackQueryId = query.Id,
Text = query.Data,
ShowAlert = true
});
break;
}
}
public static InlineKeyboardButton[][] CreateCalendar(Month mon)
{
var calendar = new InlineKeyboardButton[mon.Weeks + 3][];
var pos = 0;
calendar[0] = new InlineKeyboardButton[1]
{
InlineKeyboardButton.SetCallbackData($"{mon.Name} {mon.Year}", $"year {mon.Year}")
};
var days = new[] { "Mo", "Tu", "We", "Th", "Fr", "Sa", "Su" };
calendar[1] = new InlineKeyboardButton[7];
for (int i = 0; i < 7; i++)
{
calendar[1][i] = InlineKeyboardButton.SetCallbackData(days[i], $"{((DayName)i)}");
}
for (int i = 2; i < mon.Weeks + 2; i++)
{
calendar[i] = new InlineKeyboardButton[7];
for (int j = 0; j < 7; j++)
{
if (pos < mon.Days.Length)
{
if ((int)mon.Days[pos].Name == j)
{
calendar[i][j] = InlineKeyboardButton.SetCallbackData($"{mon.Days[pos].Number}", $"{mon.Days[pos].Name}, {mon.Name} {mon.Days[pos].Number}");
pos++;
}
else
{
calendar[i][j] = InlineKeyboardButton.SetCallbackData("*", "Empty day");
}
}
else
{
calendar[i][j] = InlineKeyboardButton.SetCallbackData("*", "Empty day");
}
}
}
calendar[calendar.Length - 1] = new InlineKeyboardButton[2];
var previousmonth = mon.Name == MonthName.January ? MonthName.December : mon.Name - 1;
var nextmonth = mon.Name == MonthName.December ? MonthName.January : mon.Name + 1;
var previousyear = previousmonth == MonthName.December ? mon.Year - 1 : mon.Year;
var nextyear = nextmonth == MonthName.January ? mon.Year + 1 : mon.Year;
calendar[calendar.Length - 1][0] = InlineKeyboardButton.SetCallbackData($"{previousmonth}", $"month {previousyear} {((ushort)previousmonth)}");
calendar[calendar.Length - 1][1] = InlineKeyboardButton.SetCallbackData($"{nextmonth}", $"month {nextyear} {((ushort)nextmonth)}");
return calendar;
}
public static InlineKeyboardButton[][] CreateCalendar(uint year)
{
var keyboard = new InlineKeyboardButton[6][];
keyboard[0] = new InlineKeyboardButton[1]{
InlineKeyboardButton.SetCallbackData($"{year}", $"Year {year}")
};
for (int i = 1, n = 0; i < 5; i++)
{
keyboard[i] = new InlineKeyboardButton[3];
for (int j = 0; j < 3; j++, n++)
{
var month = (MonthName)n;
keyboard[i][j] = new InlineKeyboardButton
{
Text = $"{month}",
CallbackData = $"month {year} {n}"
};
}
}
keyboard[5] = new InlineKeyboardButton[2]{
InlineKeyboardButton.SetCallbackData($"{year - 1}",$"year {year - 1}"),
InlineKeyboardButton.SetCallbackData($"{year + 1}",$"year {year + 1}")
};
return keyboard;
}
}
public enum DayName
{
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday,
Sunday
}
public class Day
{
public Day(DayName name, ushort number)
{
Name = name; Number = number;
}
public DayName Name { get; set; }
public ushort Number { get; set; }
}
public enum MonthName
{
January,
February,
March,
April,
May,
June,
July,
August,
September,
October,
November,
December
}
public Month(MonthName monthName, uint year)
{
Name = monthName;
Year = year;
var leapyear = Year % 4 == 0;
var days = Name == MonthName.February ? (leapyear ? 29 : 28) : (Name == MonthName.April || Name == MonthName.June || Name == MonthName.September || Name == MonthName.November ? 30 : 31);
Days = new Day[days];
var firstday = year * 365 + (leapyear ? -1 : 0) + (((year - (year % 4)) / 4)) - (((year - (year % 400)) / 400)) + 3;
var month = (int)monthName;
firstday += month < 1 ? 0 : 31;
firstday += month < 2 ? 0 : (leapyear ? 29 : 28);
firstday += month < 3 ? 0 : 31;
firstday += month < 4 ? 0 : 30;
firstday += month < 5 ? 0 : 31;
firstday += month < 6 ? 0 : 30;
firstday += month < 7 ? 0 : 31;
firstday += month < 8 ? 0 : 31;
firstday += month < 9 ? 0 : 30;
firstday += month < 10 ? 0 : 31;
firstday += month < 11 ? 0 : 30;
firstday = firstday % 7;
for (int i = 0; i < Days.Length; i++)
Days[i] = new Day((DayName)((i + firstday) % 7), (ushort)(i + 1));
}
public uint Year { get; set; }
public MonthName Name { get; set; }
public Day[] Days { get; set; }
public ushort Weeks
{
get
{
var days = (int)Days[0].Name + Days.Length - 1;
return (ushort)(((days - (days % 7)) / 7) + (days % 7 > 0 ? 1 : 0));
}
}
}
}
```
================================================
FILE: src/examples/readme.md
================================================
# Telegram.BotAPI NET Examples
[](https://www.nuget.org/packages/Telegram.BotAPI/)
[](https://core.telegram.org/bots/api#april-3-2026)
## Sample list
- [HelloBotNET.AppService](HelloBotNET.AppService) \[Recommended] \[Long Polling] \[Service]
- [HelloBotNET.Webhook](HelloBotNET.Webhook) \[Recommended] \[Webhook]
- [ShopBot](https://github.com/Eptagone/ShopBot) \[Recommended]
- [Hello World](Hello%20World/readme.md)
- [BotTemplate](BotTemplate/readme.md)
- [Poll Quiz](Poll%20Quiz%2001/readme.md)
- [Callback query 01](Callback%20query%20button%2001/readme.md)
- [Reply keyboard markup 01](ReplyKeyboardMarkup%2001/readme.md)
- [Telegram Bot Calendar](Telegram%20Calendar/readme.md)
================================================
FILE: src/library/Telegram.BotAPI/Abstractions/ITelegramBot.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using Telegram.BotAPI.GettingUpdates;
namespace Telegram.BotAPI;
/// <summary>
/// Represents a Telegram Bot.
/// Defines methods for receiving and processing incoming updates.
/// </summary>
[Obsolete(
"Use IUpdateHandler or IAsyncUpdateHandler instead from Telegram.BotAPI.Extensions package. This interface will be removed in a future version."
)]
public interface ITelegramBot
{
/// <summary>
/// Receives and processes an incoming update.
/// </summary>
/// <param name="update">The incoming update.</param>
void OnUpdate(Update update);
/// <summary>
/// Receives and processes an incoming update.
/// </summary>
/// <param name="update">The incoming update.</param>
/// <param name="cancellationToken">A cancellation token.</param>
/// <returns>A task that represents the asynchronous operation.</returns>
/// <exception cref="OperationCanceledException"></exception>
Task OnUpdateAsync(Update update, CancellationToken cancellationToken = default);
}
================================================
FILE: src/library/Telegram.BotAPI/Abstractions/ITelegramBotClient.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System.Net.Http;
using System.Text.Json;
namespace Telegram.BotAPI;
/// <summary>
/// Defines methods to make requests to the Telegram Bot API.
/// </summary>
public interface ITelegramBotClient
{
/// <summary>
/// Options used to configure the client.
/// </summary>
TelegramBotClientOptions Options { get; }
/// <summary>
/// Calls a method of the Telegram Bot API and returns the result.
/// </summary>
/// <typeparam name="TResult">Result type.</typeparam>
/// <param name="method">Method name.</param>
/// <param name="args">Method arguments.</param>
/// <returns>An object containing the result of the API call.</returns>
/// <exception cref="ArgumentException">The method arguments are invalid.</exception>
/// <exception cref="BotRequestException">The request failed and the Bot API returned an error.</exception>
/// <exception cref="HttpRequestException">The request failed due to an underlying issue such as network connectivity, DNS failure, server certificate validation or timeout.</exception>
/// <exception cref="JsonException">The response could not be deserialized.</exception>
TResult CallMethod<TResult>(string method, object? args = null);
/// <summary>
/// Calls a method of the Telegram Bot API and returns the result.
/// </summary>
/// <typeparam name="TResult">Result type.</typeparam>
/// <param name="method">Method name.</param>
/// <param name="args">Method arguments.</param>
/// <param name="cancellationToken">A <see cref="CancellationToken"/> to cancel the request.</param>
/// <returns>An object containing the result of the API call.</returns>
/// <exception cref="ArgumentException">The method arguments are invalid.</exception>
/// <exception cref="BotRequestException">The request failed and the Bot API returned an error.</exception>
/// <exception cref="HttpRequestException">The request failed due to an underlying issue such as network connectivity, DNS failure, server certificate validation or timeout.</exception>
/// <exception cref="JsonException">The response could not be deserialized.</exception>
/// <exception cref="OperationCanceledException">The request was canceled.</exception>
Task<TResult> CallMethodAsync<TResult>(
string method,
object? args = null,
CancellationToken cancellationToken = default
);
/// <summary>
/// Calls a method of the Telegram Bot API and returns the response.
/// </summary>
/// <typeparam name="TReturn">Response type.</typeparam>
/// <param name="method">Method name.</param>
/// <param name="args">Method arguments.</param>
/// <returns>A <see cref="BotResponse{T}"/> object containing the response.</returns>
/// <exception cref="ArgumentException">The method arguments are invalid.</exception>
/// <exception cref="BotRequestException">The request failed and the Bot API returned an error.</exception>
/// <exception cref="HttpRequestException">The request failed due to an underlying issue such as network connectivity, DNS failure, server certificate validation or timeout.</exception>
/// <exception cref="JsonException">The response could not be deserialized.</exception>
BotResponse<TReturn> CallMethodDirect<TReturn>(string method, object? args = null);
/// <summary>
/// Calls a method of the Telegram Bot API and returns the response.
/// </summary>
/// <typeparam name="TReturn">Response type.</typeparam>
/// <param name="method">Method name.</param>
/// <param name="args">Method arguments.</param>
/// <param name="cancellationToken">A <see cref="CancellationToken"/> to cancel the request.</param>
/// <returns>A <see cref="BotResponse{T}"/> object containing the response.</returns>
/// <exception cref="ArgumentException">The method arguments are invalid.</exception>
/// <exception cref="BotRequestException">The request failed and the Bot API returned an error.</exception>
/// <exception cref="HttpRequestException">The request failed due to an underlying issue such as network connectivity, DNS failure, server certificate validation or timeout.</exception>
/// <exception cref="JsonException">The response could not be deserialized.</exception>
/// <exception cref="OperationCanceledException">The request was canceled.</exception>
Task<BotResponse<TReturn>> CallMethodDirectAsync<TReturn>(
string method,
object? args = null,
CancellationToken cancellationToken = default
);
}
================================================
FILE: src/library/Telegram.BotAPI/Abstractions/SendAttachedFilesArgsBase.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using Telegram.BotAPI.AvailableTypes;
namespace Telegram.BotAPI;
/// <summary>
/// Defines a property to send attached files through multipart/form-data.
/// </summary>
public abstract class AttachedFilesArgsBase
{
/// <summary>
/// Files to send.
/// </summary>
[JsonIgnore]
public IDictionary<string, InputFile> Files { get; set; } = new Dictionary<string, InputFile>();
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/AnswerCallbackQueryArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
using Telegram.BotAPI.Games;
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "AnswerCallbackQuery" method.
/// </summary>
public class AnswerCallbackQueryArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="AnswerCallbackQueryArgs"/> class.
/// </summary>
/// <param name="callbackQueryId">Unique identifier for the query to be answered</param>
public AnswerCallbackQueryArgs(string callbackQueryId)
{
this.CallbackQueryId =
callbackQueryId ?? throw new ArgumentNullException(nameof(callbackQueryId));
}
/// <summary>
/// Unique identifier for the query to be answered
/// </summary>
[JsonPropertyName(PropertyNames.CallbackQueryId)]
public string CallbackQueryId { get; set; }
/// <summary>
/// Text of the notification. If not specified, nothing will be shown to the user, 0-200 characters
/// </summary>
[JsonPropertyName(PropertyNames.Text)]
public string? Text { get; set; }
/// <summary>
/// If <em>True</em>, an alert will be shown by the client instead of a notification at the top of the chat screen. Defaults to <em>false</em>.
/// </summary>
[JsonPropertyName(PropertyNames.ShowAlert)]
public bool? ShowAlert { get; set; }
/// <summary>
/// URL that will be opened by the user's client. If you have created a <see cref="Game"/> and accepted the conditions via <a href="https://t.me/botfather">@BotFather</a>, specify the URL that opens your game - note that this will only work if the query comes from a <a href="https://core.telegram.org/bots/api#inlinekeyboardbutton">callback_game</a> button.<br /><br />Otherwise, you may use links like <em>t.me/your_bot?start=XXXX</em> that open your bot with a parameter.
/// </summary>
[JsonPropertyName(PropertyNames.Url)]
public string? Url { get; set; }
/// <summary>
/// The maximum amount of time in seconds that the result of the callback query may be cached client-side. Telegram apps will support caching starting in version 3.14. Defaults to 0.
/// </summary>
[JsonPropertyName(PropertyNames.CacheTime)]
public int? CacheTime { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/AnswerGuestQueryArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
using Telegram.BotAPI.InlineMode;
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "AnswerGuestQuery" method.
/// </summary>
public class AnswerGuestQueryArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="AnswerGuestQueryArgs"/> class.
/// </summary>
/// <param name="guestQueryId">Unique identifier for the query to be answered</param>
/// <param name="result">A JSON-serialized object describing the message to be sent</param>
public AnswerGuestQueryArgs(string guestQueryId, InlineQueryResult result)
{
this.GuestQueryId = guestQueryId ?? throw new ArgumentNullException(nameof(guestQueryId));
this.Result = result ?? throw new ArgumentNullException(nameof(result));
}
/// <summary>
/// Unique identifier for the query to be answered
/// </summary>
[JsonPropertyName(PropertyNames.GuestQueryId)]
public string GuestQueryId { get; set; }
/// <summary>
/// A JSON-serialized object describing the message to be sent
/// </summary>
[JsonPropertyName(PropertyNames.Result)]
public InlineQueryResult Result { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/AnswerWebAppQueryArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
using Telegram.BotAPI.InlineMode;
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "AnswerWebAppQuery" method.
/// </summary>
public class AnswerWebAppQueryArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="AnswerWebAppQueryArgs"/> class.
/// </summary>
/// <param name="webAppQueryId">Unique identifier for the query to be answered</param>
/// <param name="result">A JSON-serialized object describing the message to be sent</param>
public AnswerWebAppQueryArgs(string webAppQueryId, InlineQueryResult result)
{
this.WebAppQueryId =
webAppQueryId ?? throw new ArgumentNullException(nameof(webAppQueryId));
this.Result = result ?? throw new ArgumentNullException(nameof(result));
}
/// <summary>
/// Unique identifier for the query to be answered
/// </summary>
[JsonPropertyName(PropertyNames.WebAppQueryId)]
public string WebAppQueryId { get; set; }
/// <summary>
/// A JSON-serialized object describing the message to be sent
/// </summary>
[JsonPropertyName(PropertyNames.Result)]
public InlineQueryResult Result { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/CopyMessageArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
using Telegram.BotAPI.AvailableTypes;
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "CopyMessage" method.
/// </summary>
public class CopyMessageArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="CopyMessageArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageId">Message identifier in the chat specified in <em>from_chat_id</em></param>
public CopyMessageArgs(long chatId, long fromChatId, int messageId)
{
this.ChatId = chatId;
this.FromChatId = fromChatId;
this.MessageId = messageId;
}
/// <summary>
/// Initializes a new instance of the <see cref="CopyMessageArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageId">Message identifier in the chat specified in <em>from_chat_id</em></param>
public CopyMessageArgs(long chatId, string fromChatId, int messageId)
{
this.ChatId = chatId;
this.FromChatId = fromChatId ?? throw new ArgumentNullException(nameof(fromChatId));
this.MessageId = messageId;
}
/// <summary>
/// Initializes a new instance of the <see cref="CopyMessageArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageId">Message identifier in the chat specified in <em>from_chat_id</em></param>
public CopyMessageArgs(string chatId, long fromChatId, int messageId)
{
this.ChatId = chatId ?? throw new ArgumentNullException(nameof(chatId));
this.FromChatId = fromChatId;
this.MessageId = messageId;
}
/// <summary>
/// Initializes a new instance of the <see cref="CopyMessageArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageId">Message identifier in the chat specified in <em>from_chat_id</em></param>
public CopyMessageArgs(string chatId, string fromChatId, int messageId)
{
this.ChatId = chatId ?? throw new ArgumentNullException(nameof(chatId));
this.FromChatId = fromChatId ?? throw new ArgumentNullException(nameof(fromChatId));
this.MessageId = messageId;
}
/// <summary>
/// Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em>
/// </summary>
[JsonPropertyName(PropertyNames.ChatId)]
public object ChatId { get; set; }
/// <summary>
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// </summary>
[JsonPropertyName(PropertyNames.MessageThreadId)]
public int? MessageThreadId { get; set; }
/// <summary>
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// </summary>
[JsonPropertyName(PropertyNames.DirectMessagesTopicId)]
public int? DirectMessagesTopicId { get; set; }
/// <summary>
/// Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)
/// </summary>
[JsonPropertyName(PropertyNames.FromChatId)]
public object FromChatId { get; set; }
/// <summary>
/// Message identifier in the chat specified in <em>from_chat_id</em>
/// </summary>
[JsonPropertyName(PropertyNames.MessageId)]
public int MessageId { get; set; }
/// <summary>
/// New start timestamp for the copied video in the message
/// </summary>
[JsonPropertyName(PropertyNames.VideoStartTimestamp)]
public int? VideoStartTimestamp { get; set; }
/// <summary>
/// New caption for media, 0-1024 characters after entities parsing. If not specified, the original caption is kept
/// </summary>
[JsonPropertyName(PropertyNames.Caption)]
public string? Caption { get; set; }
/// <summary>
/// Mode for parsing entities in the new caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
/// </summary>
[JsonPropertyName(PropertyNames.ParseMode)]
public string? ParseMode { get; set; }
/// <summary>
/// A JSON-serialized list of special entities that appear in the new caption, which can be specified instead of <em>parse_mode</em>
/// </summary>
[JsonPropertyName(PropertyNames.CaptionEntities)]
public IEnumerable<MessageEntity>? CaptionEntities { get; set; }
/// <summary>
/// Pass <em>True</em>, if the caption must be shown above the message media. Ignored if a new caption isn't specified.
/// </summary>
[JsonPropertyName(PropertyNames.ShowCaptionAboveMedia)]
public bool? ShowCaptionAboveMedia { get; set; }
/// <summary>
/// Sends the message <a href="https://telegram.org/blog/channels-2-0#silent-messages">silently</a>. Users will receive a notification with no sound.
/// </summary>
[JsonPropertyName(PropertyNames.DisableNotification)]
public bool? DisableNotification { get; set; }
/// <summary>
/// Protects the contents of the sent message from forwarding and saving
/// </summary>
[JsonPropertyName(PropertyNames.ProtectContent)]
public bool? ProtectContent { get; set; }
/// <summary>
/// Pass <em>True</em> to allow up to 1000 messages per second, ignoring <a href="https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once">broadcasting limits</a> for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
/// </summary>
[JsonPropertyName(PropertyNames.AllowPaidBroadcast)]
public bool? AllowPaidBroadcast { get; set; }
/// <summary>
/// Unique identifier of the message effect to be added to the message; only available when copying to private chats
/// </summary>
[JsonPropertyName(PropertyNames.MessageEffectId)]
public string? MessageEffectId { get; set; }
/// <summary>
/// A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.
/// </summary>
[JsonPropertyName(PropertyNames.SuggestedPostParameters)]
public SuggestedPostParameters? SuggestedPostParameters { get; set; }
/// <summary>
/// Description of the message to reply to
/// </summary>
[JsonPropertyName(PropertyNames.ReplyParameters)]
public ReplyParameters? ReplyParameters { get; set; }
/// <summary>
/// Additional interface options. A JSON-serialized object for an <a href="https://core.telegram.org/bots/features#inline-keyboards">inline keyboard</a>, <a href="https://core.telegram.org/bots/features#keyboards">custom reply keyboard</a>, instructions to remove a reply keyboard or to force a reply from the user
/// </summary>
[JsonPropertyName(PropertyNames.ReplyMarkup)]
public object? ReplyMarkup { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/CopyMessagesArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "CopyMessages" method.
/// </summary>
public class CopyMessagesArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="CopyMessagesArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageIds">A JSON-serialized list of 1-100 identifiers of messages in the chat <em>from_chat_id</em> to copy. The identifiers must be specified in a strictly increasing order.</param>
public CopyMessagesArgs(long chatId, long fromChatId, IEnumerable<int> messageIds)
{
this.ChatId = chatId;
this.FromChatId = fromChatId;
this.MessageIds = messageIds ?? throw new ArgumentNullException(nameof(messageIds));
}
/// <summary>
/// Initializes a new instance of the <see cref="CopyMessagesArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageIds">A JSON-serialized list of 1-100 identifiers of messages in the chat <em>from_chat_id</em> to copy. The identifiers must be specified in a strictly increasing order.</param>
public CopyMessagesArgs(long chatId, string fromChatId, IEnumerable<int> messageIds)
{
this.ChatId = chatId;
this.FromChatId = fromChatId ?? throw new ArgumentNullException(nameof(fromChatId));
this.MessageIds = messageIds ?? throw new ArgumentNullException(nameof(messageIds));
}
/// <summary>
/// Initializes a new instance of the <see cref="CopyMessagesArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageIds">A JSON-serialized list of 1-100 identifiers of messages in the chat <em>from_chat_id</em> to copy. The identifiers must be specified in a strictly increasing order.</param>
public CopyMessagesArgs(string chatId, long fromChatId, IEnumerable<int> messageIds)
{
this.ChatId = chatId ?? throw new ArgumentNullException(nameof(chatId));
this.FromChatId = fromChatId;
this.MessageIds = messageIds ?? throw new ArgumentNullException(nameof(messageIds));
}
/// <summary>
/// Initializes a new instance of the <see cref="CopyMessagesArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageIds">A JSON-serialized list of 1-100 identifiers of messages in the chat <em>from_chat_id</em> to copy. The identifiers must be specified in a strictly increasing order.</param>
public CopyMessagesArgs(string chatId, string fromChatId, IEnumerable<int> messageIds)
{
this.ChatId = chatId ?? throw new ArgumentNullException(nameof(chatId));
this.FromChatId = fromChatId ?? throw new ArgumentNullException(nameof(fromChatId));
this.MessageIds = messageIds ?? throw new ArgumentNullException(nameof(messageIds));
}
/// <summary>
/// Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em>
/// </summary>
[JsonPropertyName(PropertyNames.ChatId)]
public object ChatId { get; set; }
/// <summary>
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// </summary>
[JsonPropertyName(PropertyNames.MessageThreadId)]
public int? MessageThreadId { get; set; }
/// <summary>
/// Identifier of the direct messages topic to which the messages will be sent; required if the messages are sent to a direct messages chat
/// </summary>
[JsonPropertyName(PropertyNames.DirectMessagesTopicId)]
public int? DirectMessagesTopicId { get; set; }
/// <summary>
/// Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)
/// </summary>
[JsonPropertyName(PropertyNames.FromChatId)]
public object FromChatId { get; set; }
/// <summary>
/// A JSON-serialized list of 1-100 identifiers of messages in the chat <em>from_chat_id</em> to copy. The identifiers must be specified in a strictly increasing order.
/// </summary>
[JsonPropertyName(PropertyNames.MessageIds)]
public IEnumerable<int> MessageIds { get; set; }
/// <summary>
/// Sends the messages <a href="https://telegram.org/blog/channels-2-0#silent-messages">silently</a>. Users will receive a notification with no sound.
/// </summary>
[JsonPropertyName(PropertyNames.DisableNotification)]
public bool? DisableNotification { get; set; }
/// <summary>
/// Protects the contents of the sent messages from forwarding and saving
/// </summary>
[JsonPropertyName(PropertyNames.ProtectContent)]
public bool? ProtectContent { get; set; }
/// <summary>
/// Pass <em>True</em> to copy the messages without their captions
/// </summary>
[JsonPropertyName(PropertyNames.RemoveCaption)]
public bool? RemoveCaption { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/CreateChatInviteLinkArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "CreateChatInviteLink" method.
/// </summary>
public class CreateChatInviteLinkArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="CreateChatInviteLinkArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target channel in the format <em>@username</em></param>
public CreateChatInviteLinkArgs(long chatId)
{
this.ChatId = chatId;
}
/// <summary>
/// Initializes a new instance of the <see cref="CreateChatInviteLinkArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target channel in the format <em>@username</em></param>
public CreateChatInviteLinkArgs(string chatId)
{
this.ChatId = chatId ?? throw new ArgumentNullException(nameof(chatId));
}
/// <summary>
/// Unique identifier for the target chat or username of the target channel in the format <em>@username</em>
/// </summary>
[JsonPropertyName(PropertyNames.ChatId)]
public object ChatId { get; set; }
/// <summary>
/// Invite link name; 0-32 characters
/// </summary>
[JsonPropertyName(PropertyNames.Name)]
public string? Name { get; set; }
/// <summary>
/// Point in time (Unix timestamp) when the link will expire
/// </summary>
[JsonPropertyName(PropertyNames.ExpireDate)]
public int? ExpireDate { get; set; }
/// <summary>
/// The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999
/// </summary>
[JsonPropertyName(PropertyNames.MemberLimit)]
public int? MemberLimit { get; set; }
/// <summary>
/// <em>True</em>, if users joining the chat via the link need to be approved by chat administrators. If <em>True</em>, <em>member_limit</em> can't be specified
/// </summary>
[JsonPropertyName(PropertyNames.CreatesJoinRequest)]
public bool? CreatesJoinRequest { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/DeleteBusinessMessagesArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "DeleteBusinessMessages" method.
/// </summary>
public class DeleteBusinessMessagesArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="DeleteBusinessMessagesArgs"/> class.
/// </summary>
/// <param name="businessConnectionId">Unique identifier of the business connection on behalf of which to delete the messages</param>
/// <param name="messageIds">A JSON-serialized list of 1-100 identifiers of messages to delete. All messages must be from the same chat. See <a href="https://core.telegram.org/bots/api#deletemessage">deleteMessage</a> for limitations on which messages can be deleted</param>
public DeleteBusinessMessagesArgs(string businessConnectionId, IEnumerable<int> messageIds)
{
this.BusinessConnectionId =
businessConnectionId ?? throw new ArgumentNullException(nameof(businessConnectionId));
this.MessageIds = messageIds ?? throw new ArgumentNullException(nameof(messageIds));
}
/// <summary>
/// Unique identifier of the business connection on behalf of which to delete the messages
/// </summary>
[JsonPropertyName(PropertyNames.BusinessConnectionId)]
public string BusinessConnectionId { get; set; }
/// <summary>
/// A JSON-serialized list of 1-100 identifiers of messages to delete. All messages must be from the same chat. See <a href="https://core.telegram.org/bots/api#deletemessage">deleteMessage</a> for limitations on which messages can be deleted
/// </summary>
[JsonPropertyName(PropertyNames.MessageIds)]
public IEnumerable<int> MessageIds { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/DeleteMyCommandsArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
using Telegram.BotAPI.AvailableTypes;
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "DeleteMyCommands" method.
/// </summary>
public class DeleteMyCommandsArgs
{
/// <summary>
/// A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to <see cref="BotCommandScopeDefault"/>.
/// </summary>
[JsonPropertyName(PropertyNames.Scope)]
public BotCommandScope? Scope { get; set; }
/// <summary>
/// A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for whose language there are no dedicated commands
/// </summary>
[JsonPropertyName(PropertyNames.LanguageCode)]
public string? LanguageCode { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/EditChatInviteLinkArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "EditChatInviteLink" method.
/// </summary>
public class EditChatInviteLinkArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="EditChatInviteLinkArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target channel in the format <em>@username</em></param>
/// <param name="inviteLink">The invite link to edit</param>
public EditChatInviteLinkArgs(long chatId, string inviteLink)
{
this.ChatId = chatId;
this.InviteLink = inviteLink ?? throw new ArgumentNullException(nameof(inviteLink));
}
/// <summary>
/// Initializes a new instance of the <see cref="EditChatInviteLinkArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target channel in the format <em>@username</em></param>
/// <param name="inviteLink">The invite link to edit</param>
public EditChatInviteLinkArgs(string chatId, string inviteLink)
{
this.ChatId = chatId ?? throw new ArgumentNullException(nameof(chatId));
this.InviteLink = inviteLink ?? throw new ArgumentNullException(nameof(inviteLink));
}
/// <summary>
/// Unique identifier for the target chat or username of the target channel in the format <em>@username</em>
/// </summary>
[JsonPropertyName(PropertyNames.ChatId)]
public object ChatId { get; set; }
/// <summary>
/// The invite link to edit
/// </summary>
[JsonPropertyName(PropertyNames.InviteLink)]
public string InviteLink { get; set; }
/// <summary>
/// Invite link name; 0-32 characters
/// </summary>
[JsonPropertyName(PropertyNames.Name)]
public string? Name { get; set; }
/// <summary>
/// Point in time (Unix timestamp) when the link will expire
/// </summary>
[JsonPropertyName(PropertyNames.ExpireDate)]
public int? ExpireDate { get; set; }
/// <summary>
/// The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999
/// </summary>
[JsonPropertyName(PropertyNames.MemberLimit)]
public int? MemberLimit { get; set; }
/// <summary>
/// <em>True</em>, if users joining the chat via the link need to be approved by chat administrators. If <em>True</em>, <em>member_limit</em> can't be specified
/// </summary>
[JsonPropertyName(PropertyNames.CreatesJoinRequest)]
public bool? CreatesJoinRequest { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/EditStoryArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
using Telegram.BotAPI.AvailableTypes;
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "EditStory" method.
/// </summary>
public class EditStoryArgs : AttachedFilesArgsBase
{
/// <summary>
/// Initializes a new instance of the <see cref="EditStoryArgs"/> class.
/// </summary>
/// <param name="businessConnectionId">Unique identifier of the business connection</param>
/// <param name="storyId">Unique identifier of the story to edit</param>
/// <param name="content">Content of the story</param>
public EditStoryArgs(string businessConnectionId, int storyId, InputStoryContent content)
{
this.BusinessConnectionId =
businessConnectionId ?? throw new ArgumentNullException(nameof(businessConnectionId));
this.StoryId = storyId;
this.Content = content ?? throw new ArgumentNullException(nameof(content));
}
/// <summary>
/// Unique identifier of the business connection
/// </summary>
[JsonPropertyName(PropertyNames.BusinessConnectionId)]
public string BusinessConnectionId { get; set; }
/// <summary>
/// Unique identifier of the story to edit
/// </summary>
[JsonPropertyName(PropertyNames.StoryId)]
public int StoryId { get; set; }
/// <summary>
/// Content of the story
/// </summary>
[JsonPropertyName(PropertyNames.Content)]
public InputStoryContent Content { get; set; }
/// <summary>
/// Caption of the story, 0-2048 characters after entities parsing
/// </summary>
[JsonPropertyName(PropertyNames.Caption)]
public string? Caption { get; set; }
/// <summary>
/// Mode for parsing entities in the story caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
/// </summary>
[JsonPropertyName(PropertyNames.ParseMode)]
public string? ParseMode { get; set; }
/// <summary>
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
/// </summary>
[JsonPropertyName(PropertyNames.CaptionEntities)]
public IEnumerable<MessageEntity>? CaptionEntities { get; set; }
/// <summary>
/// A JSON-serialized list of clickable areas to be shown on the story
/// </summary>
[JsonPropertyName(PropertyNames.Areas)]
public IEnumerable<StoryArea>? Areas { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/ForwardMessageArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
using Telegram.BotAPI.AvailableTypes;
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "ForwardMessage" method.
/// </summary>
public class ForwardMessageArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="ForwardMessageArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageId">Message identifier in the chat specified in <em>from_chat_id</em></param>
public ForwardMessageArgs(long chatId, long fromChatId, int messageId)
{
this.ChatId = chatId;
this.FromChatId = fromChatId;
this.MessageId = messageId;
}
/// <summary>
/// Initializes a new instance of the <see cref="ForwardMessageArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageId">Message identifier in the chat specified in <em>from_chat_id</em></param>
public ForwardMessageArgs(long chatId, string fromChatId, int messageId)
{
this.ChatId = chatId;
this.FromChatId = fromChatId ?? throw new ArgumentNullException(nameof(fromChatId));
this.MessageId = messageId;
}
/// <summary>
/// Initializes a new instance of the <see cref="ForwardMessageArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageId">Message identifier in the chat specified in <em>from_chat_id</em></param>
public ForwardMessageArgs(string chatId, long fromChatId, int messageId)
{
this.ChatId = chatId ?? throw new ArgumentNullException(nameof(chatId));
this.FromChatId = fromChatId;
this.MessageId = messageId;
}
/// <summary>
/// Initializes a new instance of the <see cref="ForwardMessageArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageId">Message identifier in the chat specified in <em>from_chat_id</em></param>
public ForwardMessageArgs(string chatId, string fromChatId, int messageId)
{
this.ChatId = chatId ?? throw new ArgumentNullException(nameof(chatId));
this.FromChatId = fromChatId ?? throw new ArgumentNullException(nameof(fromChatId));
this.MessageId = messageId;
}
/// <summary>
/// Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em>
/// </summary>
[JsonPropertyName(PropertyNames.ChatId)]
public object ChatId { get; set; }
/// <summary>
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// </summary>
[JsonPropertyName(PropertyNames.MessageThreadId)]
public int? MessageThreadId { get; set; }
/// <summary>
/// Identifier of the direct messages topic to which the message will be forwarded; required if the message is forwarded to a direct messages chat
/// </summary>
[JsonPropertyName(PropertyNames.DirectMessagesTopicId)]
public int? DirectMessagesTopicId { get; set; }
/// <summary>
/// Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)
/// </summary>
[JsonPropertyName(PropertyNames.FromChatId)]
public object FromChatId { get; set; }
/// <summary>
/// New start timestamp for the forwarded video in the message
/// </summary>
[JsonPropertyName(PropertyNames.VideoStartTimestamp)]
public int? VideoStartTimestamp { get; set; }
/// <summary>
/// Sends the message <a href="https://telegram.org/blog/channels-2-0#silent-messages">silently</a>. Users will receive a notification with no sound.
/// </summary>
[JsonPropertyName(PropertyNames.DisableNotification)]
public bool? DisableNotification { get; set; }
/// <summary>
/// Protects the contents of the forwarded message from forwarding and saving
/// </summary>
[JsonPropertyName(PropertyNames.ProtectContent)]
public bool? ProtectContent { get; set; }
/// <summary>
/// Unique identifier of the message effect to be added to the message; only available when forwarding to private chats
/// </summary>
[JsonPropertyName(PropertyNames.MessageEffectId)]
public string? MessageEffectId { get; set; }
/// <summary>
/// A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only
/// </summary>
[JsonPropertyName(PropertyNames.SuggestedPostParameters)]
public SuggestedPostParameters? SuggestedPostParameters { get; set; }
/// <summary>
/// Message identifier in the chat specified in <em>from_chat_id</em>
/// </summary>
[JsonPropertyName(PropertyNames.MessageId)]
public int MessageId { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/ForwardMessagesArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "ForwardMessages" method.
/// </summary>
public class ForwardMessagesArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="ForwardMessagesArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageIds">A JSON-serialized list of 1-100 identifiers of messages in the chat <em>from_chat_id</em> to forward. The identifiers must be specified in a strictly increasing order.</param>
public ForwardMessagesArgs(long chatId, long fromChatId, IEnumerable<int> messageIds)
{
this.ChatId = chatId;
this.FromChatId = fromChatId;
this.MessageIds = messageIds ?? throw new ArgumentNullException(nameof(messageIds));
}
/// <summary>
/// Initializes a new instance of the <see cref="ForwardMessagesArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageIds">A JSON-serialized list of 1-100 identifiers of messages in the chat <em>from_chat_id</em> to forward. The identifiers must be specified in a strictly increasing order.</param>
public ForwardMessagesArgs(long chatId, string fromChatId, IEnumerable<int> messageIds)
{
this.ChatId = chatId;
this.FromChatId = fromChatId ?? throw new ArgumentNullException(nameof(fromChatId));
this.MessageIds = messageIds ?? throw new ArgumentNullException(nameof(messageIds));
}
/// <summary>
/// Initializes a new instance of the <see cref="ForwardMessagesArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageIds">A JSON-serialized list of 1-100 identifiers of messages in the chat <em>from_chat_id</em> to forward. The identifiers must be specified in a strictly increasing order.</param>
public ForwardMessagesArgs(string chatId, long fromChatId, IEnumerable<int> messageIds)
{
this.ChatId = chatId ?? throw new ArgumentNullException(nameof(chatId));
this.FromChatId = fromChatId;
this.MessageIds = messageIds ?? throw new ArgumentNullException(nameof(messageIds));
}
/// <summary>
/// Initializes a new instance of the <see cref="ForwardMessagesArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em></param>
/// <param name="fromChatId">Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)</param>
/// <param name="messageIds">A JSON-serialized list of 1-100 identifiers of messages in the chat <em>from_chat_id</em> to forward. The identifiers must be specified in a strictly increasing order.</param>
public ForwardMessagesArgs(string chatId, string fromChatId, IEnumerable<int> messageIds)
{
this.ChatId = chatId ?? throw new ArgumentNullException(nameof(chatId));
this.FromChatId = fromChatId ?? throw new ArgumentNullException(nameof(fromChatId));
this.MessageIds = messageIds ?? throw new ArgumentNullException(nameof(messageIds));
}
/// <summary>
/// Unique identifier for the target chat or username of the target bot, supergroup or channel in the format <em>@username</em>
/// </summary>
[JsonPropertyName(PropertyNames.ChatId)]
public object ChatId { get; set; }
/// <summary>
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// </summary>
[JsonPropertyName(PropertyNames.MessageThreadId)]
public int? MessageThreadId { get; set; }
/// <summary>
/// Identifier of the direct messages topic to which the messages will be forwarded; required if the messages are forwarded to a direct messages chat
/// </summary>
[JsonPropertyName(PropertyNames.DirectMessagesTopicId)]
public int? DirectMessagesTopicId { get; set; }
/// <summary>
/// Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format <em>@username</em>)
/// </summary>
[JsonPropertyName(PropertyNames.FromChatId)]
public object FromChatId { get; set; }
/// <summary>
/// A JSON-serialized list of 1-100 identifiers of messages in the chat <em>from_chat_id</em> to forward. The identifiers must be specified in a strictly increasing order.
/// </summary>
[JsonPropertyName(PropertyNames.MessageIds)]
public IEnumerable<int> MessageIds { get; set; }
/// <summary>
/// Sends the messages <a href="https://telegram.org/blog/channels-2-0#silent-messages">silently</a>. Users will receive a notification with no sound.
/// </summary>
[JsonPropertyName(PropertyNames.DisableNotification)]
public bool? DisableNotification { get; set; }
/// <summary>
/// Protects the contents of the forwarded messages from forwarding and saving
/// </summary>
[JsonPropertyName(PropertyNames.ProtectContent)]
public bool? ProtectContent { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/GetBusinessAccountGiftsArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "GetBusinessAccountGifts" method.
/// </summary>
public class GetBusinessAccountGiftsArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="GetBusinessAccountGiftsArgs"/> class.
/// </summary>
/// <param name="businessConnectionId">Unique identifier of the business connection</param>
public GetBusinessAccountGiftsArgs(string businessConnectionId)
{
this.BusinessConnectionId =
businessConnectionId ?? throw new ArgumentNullException(nameof(businessConnectionId));
}
/// <summary>
/// Unique identifier of the business connection
/// </summary>
[JsonPropertyName(PropertyNames.BusinessConnectionId)]
public string BusinessConnectionId { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that aren't saved to the account's profile page
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeUnsaved)]
public bool? ExcludeUnsaved { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that are saved to the account's profile page
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeSaved)]
public bool? ExcludeSaved { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that can be purchased an unlimited number of times
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeUnlimited)]
public bool? ExcludeUnlimited { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that can be purchased a limited number of times and can be upgraded to unique
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeLimitedUpgradable)]
public bool? ExcludeLimitedUpgradable { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that can be purchased a limited number of times and can't be upgraded to unique
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeLimitedNonUpgradable)]
public bool? ExcludeLimitedNonUpgradable { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude unique gifts
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeUnique)]
public bool? ExcludeUnique { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that were assigned from the TON blockchain and can't be resold or transferred in Telegram
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeFromBlockchain)]
public bool? ExcludeFromBlockchain { get; set; }
/// <summary>
/// Pass <em>True</em> to sort results by gift price instead of send date. Sorting is applied before pagination.
/// </summary>
[JsonPropertyName(PropertyNames.SortByPrice)]
public bool? SortByPrice { get; set; }
/// <summary>
/// Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results
/// </summary>
[JsonPropertyName(PropertyNames.Offset)]
public string? Offset { get; set; }
/// <summary>
/// The maximum number of gifts to be returned; 1-100. Defaults to 100
/// </summary>
[JsonPropertyName(PropertyNames.Limit)]
public int? Limit { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/GetChatGiftsArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "GetChatGifts" method.
/// </summary>
public class GetChatGiftsArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="GetChatGiftsArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target channel in the format <em>@username</em></param>
public GetChatGiftsArgs(long chatId)
{
this.ChatId = chatId;
}
/// <summary>
/// Initializes a new instance of the <see cref="GetChatGiftsArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target channel in the format <em>@username</em></param>
public GetChatGiftsArgs(string chatId)
{
this.ChatId = chatId ?? throw new ArgumentNullException(nameof(chatId));
}
/// <summary>
/// Unique identifier for the target chat or username of the target channel in the format <em>@username</em>
/// </summary>
[JsonPropertyName(PropertyNames.ChatId)]
public object ChatId { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that aren't saved to the chat's profile page. Always <em>True</em>, unless the bot has the <em>can_post_messages</em> administrator right in the channel.
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeUnsaved)]
public bool? ExcludeUnsaved { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that are saved to the chat's profile page. Always <em>False</em>, unless the bot has the <em>can_post_messages</em> administrator right in the channel.
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeSaved)]
public bool? ExcludeSaved { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that can be purchased an unlimited number of times
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeUnlimited)]
public bool? ExcludeUnlimited { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that can be purchased a limited number of times and can be upgraded to unique
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeLimitedUpgradable)]
public bool? ExcludeLimitedUpgradable { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that can be purchased a limited number of times and can't be upgraded to unique
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeLimitedNonUpgradable)]
public bool? ExcludeLimitedNonUpgradable { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that were assigned from the TON blockchain and can't be resold or transferred in Telegram
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeFromBlockchain)]
public bool? ExcludeFromBlockchain { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude unique gifts
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeUnique)]
public bool? ExcludeUnique { get; set; }
/// <summary>
/// Pass <em>True</em> to sort results by gift price instead of send date. Sorting is applied before pagination.
/// </summary>
[JsonPropertyName(PropertyNames.SortByPrice)]
public bool? SortByPrice { get; set; }
/// <summary>
/// Offset of the first entry to return as received from the previous request; use an empty string to get the first chunk of results
/// </summary>
[JsonPropertyName(PropertyNames.Offset)]
public string? Offset { get; set; }
/// <summary>
/// The maximum number of gifts to be returned; 1-100. Defaults to 100
/// </summary>
[JsonPropertyName(PropertyNames.Limit)]
public int? Limit { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/GetMyCommandsArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
using Telegram.BotAPI.AvailableTypes;
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "GetMyCommands" method.
/// </summary>
public class GetMyCommandsArgs
{
/// <summary>
/// A JSON-serialized object, describing scope of users. Defaults to <see cref="BotCommandScopeDefault"/>.
/// </summary>
[JsonPropertyName(PropertyNames.Scope)]
public BotCommandScope? Scope { get; set; }
/// <summary>
/// A two-letter ISO 639-1 language code or an empty string
/// </summary>
[JsonPropertyName(PropertyNames.LanguageCode)]
public string? LanguageCode { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/GetUserGiftsArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "GetUserGifts" method.
/// </summary>
public class GetUserGiftsArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="GetUserGiftsArgs"/> class.
/// </summary>
/// <param name="userId">Unique identifier of the user</param>
public GetUserGiftsArgs(long userId)
{
this.UserId = userId;
}
/// <summary>
/// Unique identifier of the user
/// </summary>
[JsonPropertyName(PropertyNames.UserId)]
public long UserId { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that can be purchased an unlimited number of times
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeUnlimited)]
public bool? ExcludeUnlimited { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that can be purchased a limited number of times and can be upgraded to unique
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeLimitedUpgradable)]
public bool? ExcludeLimitedUpgradable { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that can be purchased a limited number of times and can't be upgraded to unique
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeLimitedNonUpgradable)]
public bool? ExcludeLimitedNonUpgradable { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude gifts that were assigned from the TON blockchain and can't be resold or transferred in Telegram
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeFromBlockchain)]
public bool? ExcludeFromBlockchain { get; set; }
/// <summary>
/// Pass <em>True</em> to exclude unique gifts
/// </summary>
[JsonPropertyName(PropertyNames.ExcludeUnique)]
public bool? ExcludeUnique { get; set; }
/// <summary>
/// Pass <em>True</em> to sort results by gift price instead of send date. Sorting is applied before pagination.
/// </summary>
[JsonPropertyName(PropertyNames.SortByPrice)]
public bool? SortByPrice { get; set; }
/// <summary>
/// Offset of the first entry to return as received from the previous request; use an empty string to get the first chunk of results
/// </summary>
[JsonPropertyName(PropertyNames.Offset)]
public string? Offset { get; set; }
/// <summary>
/// The maximum number of gifts to be returned; 1-100. Defaults to 100
/// </summary>
[JsonPropertyName(PropertyNames.Limit)]
public int? Limit { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/GiftPremiumSubscriptionArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
using Telegram.BotAPI.AvailableTypes;
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "GiftPremiumSubscription" method.
/// </summary>
public class GiftPremiumSubscriptionArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="GiftPremiumSubscriptionArgs"/> class.
/// </summary>
/// <param name="userId">Unique identifier of the target user who will receive a Telegram Premium subscription</param>
/// <param name="monthCount">Number of months the Telegram Premium subscription will be active for the user; must be one of 3, 6, or 12</param>
/// <param name="starCount">Number of Telegram Stars to pay for the Telegram Premium subscription; must be 1000 for 3 months, 1500 for 6 months, and 2500 for 12 months</param>
public GiftPremiumSubscriptionArgs(long userId, int monthCount, int starCount)
{
this.UserId = userId;
this.MonthCount = monthCount;
this.StarCount = starCount;
}
/// <summary>
/// Unique identifier of the target user who will receive a Telegram Premium subscription
/// </summary>
[JsonPropertyName(PropertyNames.UserId)]
public long UserId { get; set; }
/// <summary>
/// Number of months the Telegram Premium subscription will be active for the user; must be one of 3, 6, or 12
/// </summary>
[JsonPropertyName(PropertyNames.MonthCount)]
public int MonthCount { get; set; }
/// <summary>
/// Number of Telegram Stars to pay for the Telegram Premium subscription; must be 1000 for 3 months, 1500 for 6 months, and 2500 for 12 months
/// </summary>
[JsonPropertyName(PropertyNames.StarCount)]
public int StarCount { get; set; }
/// <summary>
/// Text that will be shown along with the service message about the subscription; 0-128 characters
/// </summary>
[JsonPropertyName(PropertyNames.Text)]
public string? Text { get; set; }
/// <summary>
/// Mode for parsing entities in the text. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, “custom_emoji”, and “date_time” are ignored.
/// </summary>
[JsonPropertyName(PropertyNames.TextParseMode)]
public string? TextParseMode { get; set; }
/// <summary>
/// A JSON-serialized list of special entities that appear in the gift text. It can be specified instead of <em>text_parse_mode</em>. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, “custom_emoji”, and “date_time” are ignored.
/// </summary>
[JsonPropertyName(PropertyNames.TextEntities)]
public IEnumerable<MessageEntity>? TextEntities { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/PostStoryArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
using Telegram.BotAPI.AvailableTypes;
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "PostStory" method.
/// </summary>
public class PostStoryArgs : AttachedFilesArgsBase
{
/// <summary>
/// Initializes a new instance of the <see cref="PostStoryArgs"/> class.
/// </summary>
/// <param name="businessConnectionId">Unique identifier of the business connection</param>
/// <param name="content">Content of the story</param>
/// <param name="activePeriod">Period after which the story is moved to the archive, in seconds; must be one of <em>6 * 3600</em>, <em>12 * 3600</em>, <em>86400</em>, or <em>2 * 86400</em></param>
public PostStoryArgs(string businessConnectionId, InputStoryContent content, int activePeriod)
{
this.BusinessConnectionId =
businessConnectionId ?? throw new ArgumentNullException(nameof(businessConnectionId));
this.Content = content ?? throw new ArgumentNullException(nameof(content));
this.ActivePeriod = activePeriod;
}
/// <summary>
/// Unique identifier of the business connection
/// </summary>
[JsonPropertyName(PropertyNames.BusinessConnectionId)]
public string BusinessConnectionId { get; set; }
/// <summary>
/// Content of the story
/// </summary>
[JsonPropertyName(PropertyNames.Content)]
public InputStoryContent Content { get; set; }
/// <summary>
/// Period after which the story is moved to the archive, in seconds; must be one of <em>6 * 3600</em>, <em>12 * 3600</em>, <em>86400</em>, or <em>2 * 86400</em>
/// </summary>
[JsonPropertyName(PropertyNames.ActivePeriod)]
public int ActivePeriod { get; set; }
/// <summary>
/// Caption of the story, 0-2048 characters after entities parsing
/// </summary>
[JsonPropertyName(PropertyNames.Caption)]
public string? Caption { get; set; }
/// <summary>
/// Mode for parsing entities in the story caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
/// </summary>
[JsonPropertyName(PropertyNames.ParseMode)]
public string? ParseMode { get; set; }
/// <summary>
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
/// </summary>
[JsonPropertyName(PropertyNames.CaptionEntities)]
public IEnumerable<MessageEntity>? CaptionEntities { get; set; }
/// <summary>
/// A JSON-serialized list of clickable areas to be shown on the story
/// </summary>
[JsonPropertyName(PropertyNames.Areas)]
public IEnumerable<StoryArea>? Areas { get; set; }
/// <summary>
/// Pass <em>True</em> to keep the story accessible after it expires
/// </summary>
[JsonPropertyName(PropertyNames.PostToChatPage)]
public bool? PostToChatPage { get; set; }
/// <summary>
/// Pass <em>True</em> if the content of the story must be protected from forwarding and screenshotting
/// </summary>
[JsonPropertyName(PropertyNames.ProtectContent)]
public bool? ProtectContent { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/PromoteChatMemberArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "PromoteChatMember" method.
/// </summary>
public class PromoteChatMemberArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="PromoteChatMemberArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target channel in the format <em>@username</em></param>
/// <param name="userId">Unique identifier of the target user</param>
public PromoteChatMemberArgs(long chatId, long userId)
{
this.ChatId = chatId;
this.UserId = userId;
}
/// <summary>
/// Initializes a new instance of the <see cref="PromoteChatMemberArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target channel in the format <em>@username</em></param>
/// <param name="userId">Unique identifier of the target user</param>
public PromoteChatMemberArgs(string chatId, long userId)
{
this.ChatId = chatId ?? throw new ArgumentNullException(nameof(chatId));
this.UserId = userId;
}
/// <summary>
/// Unique identifier for the target chat or username of the target channel in the format <em>@username</em>
/// </summary>
[JsonPropertyName(PropertyNames.ChatId)]
public object ChatId { get; set; }
/// <summary>
/// Unique identifier of the target user
/// </summary>
[JsonPropertyName(PropertyNames.UserId)]
public long UserId { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator's presence in the chat is hidden
/// </summary>
[JsonPropertyName(PropertyNames.IsAnonymous)]
public bool? IsAnonymous { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages, ignore slow mode, and send messages to the chat without paying Telegram Stars. Implied by any other administrator privilege.
/// </summary>
[JsonPropertyName(PropertyNames.CanManageChat)]
public bool? CanManageChat { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can delete messages of other users
/// </summary>
[JsonPropertyName(PropertyNames.CanDeleteMessages)]
public bool? CanDeleteMessages { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can manage video chats
/// </summary>
[JsonPropertyName(PropertyNames.CanManageVideoChats)]
public bool? CanManageVideoChats { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can restrict, ban or unban chat members, or access supergroup statistics. For backward compatibility, defaults to <em>True</em> for promotions of channel administrators
/// </summary>
[JsonPropertyName(PropertyNames.CanRestrictMembers)]
public bool? CanRestrictMembers { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by him)
/// </summary>
[JsonPropertyName(PropertyNames.CanPromoteMembers)]
public bool? CanPromoteMembers { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can change chat title, photo and other settings
/// </summary>
[JsonPropertyName(PropertyNames.CanChangeInfo)]
public bool? CanChangeInfo { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can invite new users to the chat
/// </summary>
[JsonPropertyName(PropertyNames.CanInviteUsers)]
public bool? CanInviteUsers { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can post stories to the chat
/// </summary>
[JsonPropertyName(PropertyNames.CanPostStories)]
public bool? CanPostStories { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive
/// </summary>
[JsonPropertyName(PropertyNames.CanEditStories)]
public bool? CanEditStories { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can delete stories posted by other users
/// </summary>
[JsonPropertyName(PropertyNames.CanDeleteStories)]
public bool? CanDeleteStories { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can post messages in the channel, approve suggested posts, or access channel statistics; for channels only
/// </summary>
[JsonPropertyName(PropertyNames.CanPostMessages)]
public bool? CanPostMessages { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can edit messages of other users and can pin messages; for channels only
/// </summary>
[JsonPropertyName(PropertyNames.CanEditMessages)]
public bool? CanEditMessages { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can pin messages; for supergroups only
/// </summary>
[JsonPropertyName(PropertyNames.CanPinMessages)]
public bool? CanPinMessages { get; set; }
/// <summary>
/// Pass <em>True</em> if the user is allowed to create, rename, close, and reopen forum topics; for supergroups only
/// </summary>
[JsonPropertyName(PropertyNames.CanManageTopics)]
public bool? CanManageTopics { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can manage direct messages within the channel and decline suggested posts; for channels only
/// </summary>
[JsonPropertyName(PropertyNames.CanManageDirectMessages)]
public bool? CanManageDirectMessages { get; set; }
/// <summary>
/// Pass <em>True</em> if the administrator can edit the tags of regular members; for groups and supergroups only
/// </summary>
[JsonPropertyName(PropertyNames.CanManageTags)]
public bool? CanManageTags { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/RepostStoryArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "RepostStory" method.
/// </summary>
public class RepostStoryArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="RepostStoryArgs"/> class.
/// </summary>
/// <param name="businessConnectionId">Unique identifier of the business connection</param>
/// <param name="fromChatId">Unique identifier of the chat which posted the story that should be reposted</param>
/// <param name="fromStoryId">Unique identifier of the story that should be reposted</param>
/// <param name="activePeriod">Period after which the story is moved to the archive, in seconds; must be one of <em>6 * 3600</em>, <em>12 * 3600</em>, <em>86400</em>, or <em>2 * 86400</em></param>
public RepostStoryArgs(
string businessConnectionId,
long fromChatId,
int fromStoryId,
int activePeriod
)
{
this.BusinessConnectionId =
businessConnectionId ?? throw new ArgumentNullException(nameof(businessConnectionId));
this.FromChatId = fromChatId;
this.FromStoryId = fromStoryId;
this.ActivePeriod = activePeriod;
}
/// <summary>
/// Unique identifier of the business connection
/// </summary>
[JsonPropertyName(PropertyNames.BusinessConnectionId)]
public string BusinessConnectionId { get; set; }
/// <summary>
/// Unique identifier of the chat which posted the story that should be reposted
/// </summary>
[JsonPropertyName(PropertyNames.FromChatId)]
public long FromChatId { get; set; }
/// <summary>
/// Unique identifier of the story that should be reposted
/// </summary>
[JsonPropertyName(PropertyNames.FromStoryId)]
public int FromStoryId { get; set; }
/// <summary>
/// Period after which the story is moved to the archive, in seconds; must be one of <em>6 * 3600</em>, <em>12 * 3600</em>, <em>86400</em>, or <em>2 * 86400</em>
/// </summary>
[JsonPropertyName(PropertyNames.ActivePeriod)]
public int ActivePeriod { get; set; }
/// <summary>
/// Pass <em>True</em> to keep the story accessible after it expires
/// </summary>
[JsonPropertyName(PropertyNames.PostToChatPage)]
public bool? PostToChatPage { get; set; }
/// <summary>
/// Pass <em>True</em> if the content of the story must be protected from forwarding and screenshotting
/// </summary>
[JsonPropertyName(PropertyNames.ProtectContent)]
public bool? ProtectContent { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/RestrictChatMemberArgs.cs
================================================
// Copyright (c) 2026 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
//* This file is auto-generated. Don't edit it manually!
using Telegram.BotAPI.AvailableTypes;
namespace Telegram.BotAPI.AvailableMethods;
/// <summary>
/// Represents the arguments of the "RestrictChatMember" method.
/// </summary>
public class RestrictChatMemberArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="RestrictChatMemberArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target supergroup in the format <em>@username</em></param>
/// <param name="userId">Unique identifier of the target user</param>
/// <param name="permissions">A JSON-serialized object for new user permissions</param>
public RestrictChatMemberArgs(long chatId, long userId, ChatPermissions permissions)
{
this.ChatId = chatId;
this.UserId = userId;
this.Permissions = permissions ?? throw new ArgumentNullException(nameof(permissions));
}
/// <summary>
/// Initializes a new instance of the <see cref="RestrictChatMemberArgs"/> class.
/// </summary>
/// <param name="chatId">Unique identifier for the target chat or username of the target supergroup in the format <em>@username</em></param>
/// <param name="userId">Unique identifier of the target user</param>
/// <param name="permissions">A JSON-serialized object for new user permissions</param>
public RestrictChatMemberArgs(string chatId, long userId, ChatPermissions permissions)
{
this.ChatId = chatId ?? throw new ArgumentNullException(nameof(chatId));
this.UserId = userId;
this.Permissions = permissions ?? throw new ArgumentNullException(nameof(permissions));
}
/// <summary>
/// Unique identifier for the target chat or username of the target supergroup in the format <em>@username</em>
/// </summary>
[JsonPropertyName(PropertyNames.ChatId)]
public object ChatId { get; set; }
/// <summary>
/// Unique identifier of the target user
/// </summary>
[JsonPropertyName(PropertyNames.UserId)]
public long UserId { get; set; }
/// <summary>
/// A JSON-serialized object for new user permissions
/// </summary>
[JsonPropertyName(PropertyNames.Permissions)]
public ChatPermissions Permissions { get; set; }
/// <summary>
/// Pass <em>True</em> if chat permissions are set independently. Otherwise, the <em>can_send_other_messages</em> and <em>can_add_web_page_previews</em> permissions will imply the <em>can_send_messages</em>, <em>can_send_audios</em>, <em>can_send_documents</em>, <em>can_send_photos</em>, <em>can_send_videos</em>, <em>can_send_video_notes</em>, and <em>can_send_voice_notes</em> permissions; the <em>can_send_polls</em> permission will imply the <em>can_send_messages</em> permission.
/// </summary>
[JsonPropertyName(PropertyNames.UseIndependentChatPermissions)]
public bool? UseIndependentChatPermissions { get; set; }
/// <summary>
/// Date when restrictions will be lifted for the user; Unix time. If user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever
/// </summary>
[JsonPropertyName(PropertyNames.UntilDate)]
public int? UntilDate { get; set; }
}
================================================
FILE: src/library/Telegram.BotAPI/Avail
gitextract_x_mrro30/
├── .gitattributes
├── .github/
│ └── workflows/
│ ├── build.yaml
│ ├── close-inactive-issues.yaml
│ └── publish.yaml
├── .gitignore
├── LICENSE
├── README.md
├── src/
│ ├── .editorconfig
│ ├── .gitignore
│ ├── Telegram.BotAPI.sln
│ ├── examples/
│ │ ├── .dockerignore
│ │ ├── BotTemplate/
│ │ │ ├── BotTemplateSample.csproj
│ │ │ ├── MyBot.cs
│ │ │ ├── Program.cs
│ │ │ └── readme.md
│ │ ├── Callback query button 01/
│ │ │ ├── Callback query button 01.csproj
│ │ │ ├── Program.cs
│ │ │ └── readme.md
│ │ ├── Examples.sln
│ │ ├── Hello World/
│ │ │ ├── Hello World.csproj
│ │ │ ├── Program.cs
│ │ │ └── readme.md
│ │ ├── HelloBotNET.AppService/
│ │ │ ├── HelloBotNET.AppService.csproj
│ │ │ ├── Program.cs
│ │ │ ├── Properties/
│ │ │ │ ├── launchSettings.json
│ │ │ │ ├── serviceDependencies.json
│ │ │ │ └── serviceDependencies.local.json
│ │ │ ├── Services/
│ │ │ │ ├── HelloBot.CommandHandler.cs
│ │ │ │ ├── HelloBot.ErrorHandler.cs
│ │ │ │ ├── HelloBot.MessageHandler.cs
│ │ │ │ ├── HelloBot.UpdateHandler.cs
│ │ │ │ └── HelloBot.cs
│ │ │ ├── Worker.cs
│ │ │ ├── appsettings.Development.json
│ │ │ ├── appsettings.json
│ │ │ └── readme.md
│ │ ├── HelloBotNET.Webhook/
│ │ │ ├── Controllers/
│ │ │ │ └── BotController.cs
│ │ │ ├── Extensions/
│ │ │ │ └── ApplicationBuilderExtensions.cs
│ │ │ ├── HelloBotNET.Webhook.csproj
│ │ │ ├── Program.cs
│ │ │ ├── Properties/
│ │ │ │ └── launchSettings.json
│ │ │ ├── Services/
│ │ │ │ ├── HelloBot.CommandHandler.cs
│ │ │ │ ├── HelloBot.ErrorHandler.cs
│ │ │ │ ├── HelloBot.MessageHandler.cs
│ │ │ │ ├── HelloBot.UpdateHandler.cs
│ │ │ │ └── HelloBot.cs
│ │ │ ├── appsettings.Development.json
│ │ │ ├── appsettings.json
│ │ │ └── readme.md
│ │ ├── Poll Quiz 01/
│ │ │ ├── Poll Quiz 01.csproj
│ │ │ ├── Program.cs
│ │ │ └── readme.md
│ │ ├── ReplyKeyboardMarkup 01/
│ │ │ ├── Program.cs
│ │ │ ├── ReplyKeyboardMarkup 01.csproj
│ │ │ └── readme.md
│ │ ├── Telegram Calendar/
│ │ │ ├── Calendar.cs
│ │ │ ├── CalendarBot.cs
│ │ │ ├── Models/
│ │ │ │ ├── Day.cs
│ │ │ │ ├── Month.cs
│ │ │ │ └── MonthName.cs
│ │ │ ├── Program.cs
│ │ │ ├── Telegram Calendar.csproj
│ │ │ └── readme.md
│ │ └── readme.md
│ ├── library/
│ │ ├── Telegram.BotAPI/
│ │ │ ├── Abstractions/
│ │ │ │ ├── ITelegramBot.cs
│ │ │ │ ├── ITelegramBotClient.cs
│ │ │ │ └── SendAttachedFilesArgsBase.cs
│ │ │ ├── AvailableMethods/
│ │ │ │ ├── Args/
│ │ │ │ │ ├── AnswerCallbackQueryArgs.cs
│ │ │ │ │ ├── AnswerGuestQueryArgs.cs
│ │ │ │ │ ├── AnswerWebAppQueryArgs.cs
│ │ │ │ │ ├── CopyMessageArgs.cs
│ │ │ │ │ ├── CopyMessagesArgs.cs
│ │ │ │ │ ├── CreateChatInviteLinkArgs.cs
│ │ │ │ │ ├── DeleteBusinessMessagesArgs.cs
│ │ │ │ │ ├── DeleteMyCommandsArgs.cs
│ │ │ │ │ ├── EditChatInviteLinkArgs.cs
│ │ │ │ │ ├── EditStoryArgs.cs
│ │ │ │ │ ├── ForwardMessageArgs.cs
│ │ │ │ │ ├── ForwardMessagesArgs.cs
│ │ │ │ │ ├── GetBusinessAccountGiftsArgs.cs
│ │ │ │ │ ├── GetChatGiftsArgs.cs
│ │ │ │ │ ├── GetMyCommandsArgs.cs
│ │ │ │ │ ├── GetUserGiftsArgs.cs
│ │ │ │ │ ├── GiftPremiumSubscriptionArgs.cs
│ │ │ │ │ ├── PostStoryArgs.cs
│ │ │ │ │ ├── PromoteChatMemberArgs.cs
│ │ │ │ │ ├── RepostStoryArgs.cs
│ │ │ │ │ ├── RestrictChatMemberArgs.cs
│ │ │ │ │ ├── SavePreparedInlineMessageArgs.cs
│ │ │ │ │ ├── SavePreparedKeyboardButtonArgs.cs
│ │ │ │ │ ├── SendAnimationArgs.cs
│ │ │ │ │ ├── SendAudioArgs.cs
│ │ │ │ │ ├── SendChecklistArgs.cs
│ │ │ │ │ ├── SendContactArgs.cs
│ │ │ │ │ ├── SendDiceArgs.cs
│ │ │ │ │ ├── SendDocumentArgs.cs
│ │ │ │ │ ├── SendGiftArgs.cs
│ │ │ │ │ ├── SendLivePhotoArgs.cs
│ │ │ │ │ ├── SendLocationArgs.cs
│ │ │ │ │ ├── SendMediaGroupArgs.cs
│ │ │ │ │ ├── SendMessageArgs.cs
│ │ │ │ │ ├── SendMessageDraftArgs.cs
│ │ │ │ │ ├── SendPaidMediaArgs.cs
│ │ │ │ │ ├── SendPhotoArgs.cs
│ │ │ │ │ ├── SendPollArgs.cs
│ │ │ │ │ ├── SendVenueArgs.cs
│ │ │ │ │ ├── SendVideoArgs.cs
│ │ │ │ │ ├── SendVideoNoteArgs.cs
│ │ │ │ │ ├── SendVoiceArgs.cs
│ │ │ │ │ ├── SetBusinessAccountGiftSettingsArgs.cs
│ │ │ │ │ ├── SetBusinessAccountProfilePhotoArgs.cs
│ │ │ │ │ ├── SetChatMenuButtonArgs.cs
│ │ │ │ │ ├── SetChatPermissionsArgs.cs
│ │ │ │ │ ├── SetChatPhotoArgs.cs
│ │ │ │ │ ├── SetManagedBotAccessSettingsArgs.cs
│ │ │ │ │ ├── SetMessageReactionArgs.cs
│ │ │ │ │ ├── SetMyCommandsArgs.cs
│ │ │ │ │ ├── SetMyDefaultAdministratorRightsArgs.cs
│ │ │ │ │ └── SetMyProfilePhotoArgs.cs
│ │ │ │ ├── answerCallbackQuery.cs
│ │ │ │ ├── answerGuestQuery.cs
│ │ │ │ ├── answerWebAppQuery.cs
│ │ │ │ ├── approveChatJoinRequest.cs
│ │ │ │ ├── banChatMember.cs
│ │ │ │ ├── banChatSenderChat.cs
│ │ │ │ ├── close.cs
│ │ │ │ ├── closeForumTopic.cs
│ │ │ │ ├── closeGeneralForumTopic.cs
│ │ │ │ ├── convertGiftToStars.cs
│ │ │ │ ├── copyMessage.cs
│ │ │ │ ├── copyMessages.cs
│ │ │ │ ├── createChatInviteLink.cs
│ │ │ │ ├── createChatSubscriptionInviteLink.cs
│ │ │ │ ├── createForumTopic.cs
│ │ │ │ ├── declineChatJoinRequest.cs
│ │ │ │ ├── deleteBusinessMessages.cs
│ │ │ │ ├── deleteChatPhoto.cs
│ │ │ │ ├── deleteChatStickerSet.cs
│ │ │ │ ├── deleteForumTopic.cs
│ │ │ │ ├── deleteMyCommands.cs
│ │ │ │ ├── deleteStory.cs
│ │ │ │ ├── editChatInviteLink.cs
│ │ │ │ ├── editChatSubscriptionInviteLink.cs
│ │ │ │ ├── editForumTopic.cs
│ │ │ │ ├── editGeneralForumTopic.cs
│ │ │ │ ├── editStory.cs
│ │ │ │ ├── exportChatInviteLink.cs
│ │ │ │ ├── forwardMessage.cs
│ │ │ │ ├── forwardMessages.cs
│ │ │ │ ├── getAvailableGifts.cs
│ │ │ │ ├── getBusinessAccountGifts.cs
│ │ │ │ ├── getBusinessAccountStarBalance.cs
│ │ │ │ ├── getBusinessConnection.cs
│ │ │ │ ├── getChat.cs
│ │ │ │ ├── getChatAdministrators.cs
│ │ │ │ ├── getChatGifts.cs
│ │ │ │ ├── getChatMember.cs
│ │ │ │ ├── getChatMemberCount.cs
│ │ │ │ ├── getChatMenuButton.cs
│ │ │ │ ├── getFile.cs
│ │ │ │ ├── getForumTopicIconStickers.cs
│ │ │ │ ├── getManagedBotAccessSettings.cs
│ │ │ │ ├── getManagedBotToken.cs
│ │ │ │ ├── getMe.cs
│ │ │ │ ├── getMyCommands.cs
│ │ │ │ ├── getMyDefaultAdministratorRights.cs
│ │ │ │ ├── getMyDescription.cs
│ │ │ │ ├── getMyName.cs
│ │ │ │ ├── getMyShortDescription.cs
│ │ │ │ ├── getUserChatBoosts.cs
│ │ │ │ ├── getUserGifts.cs
│ │ │ │ ├── getUserPersonalChatMessages.cs
│ │ │ │ ├── getUserProfileAudios.cs
│ │ │ │ ├── getUserProfilePhotos.cs
│ │ │ │ ├── giftPremiumSubscription.cs
│ │ │ │ ├── hideGeneralForumTopic.cs
│ │ │ │ ├── leaveChat.cs
│ │ │ │ ├── logOut.cs
│ │ │ │ ├── pinChatMessage.cs
│ │ │ │ ├── postStory.cs
│ │ │ │ ├── promoteChatMember.cs
│ │ │ │ ├── readBusinessMessage.cs
│ │ │ │ ├── removeBusinessAccountProfilePhoto.cs
│ │ │ │ ├── removeChatVerification.cs
│ │ │ │ ├── removeMyProfilePhoto.cs
│ │ │ │ ├── removeUserVerification.cs
│ │ │ │ ├── reopenForumTopic.cs
│ │ │ │ ├── reopenGeneralForumTopic.cs
│ │ │ │ ├── replaceManagedBotToken.cs
│ │ │ │ ├── repostStory.cs
│ │ │ │ ├── restrictChatMember.cs
│ │ │ │ ├── revokeChatInviteLink.cs
│ │ │ │ ├── savePreparedInlineMessage.cs
│ │ │ │ ├── savePreparedKeyboardButton.cs
│ │ │ │ ├── sendAnimation.cs
│ │ │ │ ├── sendAudio.cs
│ │ │ │ ├── sendChatAction.cs
│ │ │ │ ├── sendChecklist.cs
│ │ │ │ ├── sendContact.cs
│ │ │ │ ├── sendDice.cs
│ │ │ │ ├── sendDocument.cs
│ │ │ │ ├── sendGift.cs
│ │ │ │ ├── sendLivePhoto.cs
│ │ │ │ ├── sendLocation.cs
│ │ │ │ ├── sendMediaGroup.cs
│ │ │ │ ├── sendMessage.cs
│ │ │ │ ├── sendMessageDraft.cs
│ │ │ │ ├── sendPaidMedia.cs
│ │ │ │ ├── sendPhoto.cs
│ │ │ │ ├── sendPoll.cs
│ │ │ │ ├── sendVenue.cs
│ │ │ │ ├── sendVideo.cs
│ │ │ │ ├── sendVideoNote.cs
│ │ │ │ ├── sendVoice.cs
│ │ │ │ ├── setBusinessAccountBio.cs
│ │ │ │ ├── setBusinessAccountGiftSettings.cs
│ │ │ │ ├── setBusinessAccountName.cs
│ │ │ │ ├── setBusinessAccountProfilePhoto.cs
│ │ │ │ ├── setBusinessAccountUsername.cs
│ │ │ │ ├── setChatAdministratorCustomTitle.cs
│ │ │ │ ├── setChatDescription.cs
│ │ │ │ ├── setChatMemberTag.cs
│ │ │ │ ├── setChatMenuButton.cs
│ │ │ │ ├── setChatPermissions.cs
│ │ │ │ ├── setChatPhoto.cs
│ │ │ │ ├── setChatStickerSet.cs
│ │ │ │ ├── setChatTitle.cs
│ │ │ │ ├── setManagedBotAccessSettings.cs
│ │ │ │ ├── setMessageReaction.cs
│ │ │ │ ├── setMyCommands.cs
│ │ │ │ ├── setMyDefaultAdministratorRights.cs
│ │ │ │ ├── setMyDescription.cs
│ │ │ │ ├── setMyName.cs
│ │ │ │ ├── setMyProfilePhoto.cs
│ │ │ │ ├── setMyShortDescription.cs
│ │ │ │ ├── setUserEmojiStatus.cs
│ │ │ │ ├── transferBusinessAccountStars.cs
│ │ │ │ ├── transferGift.cs
│ │ │ │ ├── unbanChatMember.cs
│ │ │ │ ├── unbanChatSenderChat.cs
│ │ │ │ ├── unhideGeneralForumTopic.cs
│ │ │ │ ├── unpinAllChatMessages.cs
│ │ │ │ ├── unpinAllForumTopicMessages.cs
│ │ │ │ ├── unpinAllGeneralForumTopicMessages.cs
│ │ │ │ ├── unpinChatMessage.cs
│ │ │ │ ├── upgradeGift.cs
│ │ │ │ ├── verifyChat.cs
│ │ │ │ └── verifyUser.cs
│ │ │ ├── AvailableTypes/
│ │ │ │ ├── AcceptedGiftTypes.cs
│ │ │ │ ├── Animation.cs
│ │ │ │ ├── Audio.cs
│ │ │ │ ├── BackgroundFill/
│ │ │ │ │ ├── BackgroundFill.cs
│ │ │ │ │ ├── BackgroundFillFreeformGradient.cs
│ │ │ │ │ ├── BackgroundFillGradient.cs
│ │ │ │ │ └── BackgroundFillSolid.cs
│ │ │ │ ├── BackgroundType/
│ │ │ │ │ ├── BackgroundType.cs
│ │ │ │ │ ├── BackgroundTypeChatTheme.cs
│ │ │ │ │ ├── BackgroundTypeFill.cs
│ │ │ │ │ ├── BackgroundTypePattern.cs
│ │ │ │ │ └── BackgroundTypeWallpaper.cs
│ │ │ │ ├── Birthdate.cs
│ │ │ │ ├── BotAccessSettings.cs
│ │ │ │ ├── BotCommand.cs
│ │ │ │ ├── BotCommandScope/
│ │ │ │ │ ├── BotCommandScope.cs
│ │ │ │ │ ├── BotCommandScopeAllChatAdministrators.cs
│ │ │ │ │ ├── BotCommandScopeAllGroupChats.cs
│ │ │ │ │ ├── BotCommandScopeAllPrivateChats.cs
│ │ │ │ │ ├── BotCommandScopeChat.cs
│ │ │ │ │ ├── BotCommandScopeChatAdministrators.cs
│ │ │ │ │ ├── BotCommandScopeChatMember.cs
│ │ │ │ │ └── BotCommandScopeDefault.cs
│ │ │ │ ├── BotDescription.cs
│ │ │ │ ├── BotName.cs
│ │ │ │ ├── BotShortDescription.cs
│ │ │ │ ├── BusinessBotRights.cs
│ │ │ │ ├── BusinessConnection.cs
│ │ │ │ ├── BusinessIntro.cs
│ │ │ │ ├── BusinessLocation.cs
│ │ │ │ ├── BusinessMessagesDeleted.cs
│ │ │ │ ├── BusinessOpeningHours.cs
│ │ │ │ ├── BusinessOpeningHoursInterval.cs
│ │ │ │ ├── CallbackQuery.cs
│ │ │ │ ├── Chat/
│ │ │ │ │ ├── Chat.cs
│ │ │ │ │ └── ChatFullInfo.cs
│ │ │ │ ├── ChatAdministratorRights.cs
│ │ │ │ ├── ChatBackground.cs
│ │ │ │ ├── ChatBoost.cs
│ │ │ │ ├── ChatBoostAdded.cs
│ │ │ │ ├── ChatBoostRemoved.cs
│ │ │ │ ├── ChatBoostSource/
│ │ │ │ │ ├── ChatBoostSource.cs
│ │ │ │ │ ├── ChatBoostSourceGiftCode.cs
│ │ │ │ │ ├── ChatBoostSourceGiveaway.cs
│ │ │ │ │ └── ChatBoostSourcePremium.cs
│ │ │ │ ├── ChatBoostUpdated.cs
│ │ │ │ ├── ChatInviteLink.cs
│ │ │ │ ├── ChatJoinRequest.cs
│ │ │ │ ├── ChatLocation.cs
│ │ │ │ ├── ChatMember/
│ │ │ │ │ ├── ChatMember.cs
│ │ │ │ │ ├── ChatMemberAdministrator.cs
│ │ │ │ │ ├── ChatMemberBanned.cs
│ │ │ │ │ ├── ChatMemberLeft.cs
│ │ │ │ │ ├── ChatMemberMember.cs
│ │ │ │ │ ├── ChatMemberOwner.cs
│ │ │ │ │ └── ChatMemberRestricted.cs
│ │ │ │ ├── ChatMemberUpdated.cs
│ │ │ │ ├── ChatOwnerChanged.cs
│ │ │ │ ├── ChatOwnerLeft.cs
│ │ │ │ ├── ChatPermissions.cs
│ │ │ │ ├── ChatPhoto.cs
│ │ │ │ ├── ChatShared.cs
│ │ │ │ ├── Checklist.cs
│ │ │ │ ├── ChecklistTask.cs
│ │ │ │ ├── ChecklistTasksAdded.cs
│ │ │ │ ├── ChecklistTasksDone.cs
│ │ │ │ ├── Contact.cs
│ │ │ │ ├── CopyTextButton.cs
│ │ │ │ ├── Dice.cs
│ │ │ │ ├── DirectMessagePriceChanged.cs
│ │ │ │ ├── DirectMessagesTopic.cs
│ │ │ │ ├── Document.cs
│ │ │ │ ├── ExternalReplyInfo.cs
│ │ │ │ ├── File.cs
│ │ │ │ ├── ForumTopic.cs
│ │ │ │ ├── ForumTopicClosed.cs
│ │ │ │ ├── ForumTopicCreated.cs
│ │ │ │ ├── ForumTopicEdited.cs
│ │ │ │ ├── ForumTopicReopened.cs
│ │ │ │ ├── GeneralForumTopicHidden.cs
│ │ │ │ ├── GeneralForumTopicUnhidden.cs
│ │ │ │ ├── Gift.cs
│ │ │ │ ├── GiftBackground.cs
│ │ │ │ ├── GiftInfo.cs
│ │ │ │ ├── Gifts.cs
│ │ │ │ ├── Giveaway.cs
│ │ │ │ ├── GiveawayCompleted.cs
│ │ │ │ ├── GiveawayCreated.cs
│ │ │ │ ├── GiveawayWinners.cs
│ │ │ │ ├── InlineKeyboardButton.cs
│ │ │ │ ├── InputChecklist.cs
│ │ │ │ ├── InputChecklistTask.cs
│ │ │ │ ├── InputFile.cs
│ │ │ │ ├── InputMedia/
│ │ │ │ │ ├── InputMedia.cs
│ │ │ │ │ ├── InputMediaAnimation.cs
│ │ │ │ │ ├── InputMediaAudio.cs
│ │ │ │ │ ├── InputMediaDocument.cs
│ │ │ │ │ ├── InputMediaLivePhoto.cs
│ │ │ │ │ ├── InputMediaLocation.cs
│ │ │ │ │ ├── InputMediaPhoto.cs
│ │ │ │ │ ├── InputMediaSticker.cs
│ │ │ │ │ ├── InputMediaVenue.cs
│ │ │ │ │ └── InputMediaVideo.cs
│ │ │ │ ├── InputPaidMedia/
│ │ │ │ │ ├── InputPaidMedia.cs
│ │ │ │ │ ├── InputPaidMediaLivePhoto.cs
│ │ │ │ │ ├── InputPaidMediaPhoto.cs
│ │ │ │ │ └── InputPaidMediaVideo.cs
│ │ │ │ ├── InputPollOption.cs
│ │ │ │ ├── InputProfilePhoto/
│ │ │ │ │ ├── InputProfilePhoto.cs
│ │ │ │ │ ├── InputProfilePhotoAnimated.cs
│ │ │ │ │ └── InputProfilePhotoStatic.cs
│ │ │ │ ├── InputStoryContent/
│ │ │ │ │ ├── InputStoryContent.cs
│ │ │ │ │ ├── InputStoryContentPhoto.cs
│ │ │ │ │ └── InputStoryContentVideo.cs
│ │ │ │ ├── KeyboardButton.cs
│ │ │ │ ├── KeyboardButtonPollType.cs
│ │ │ │ ├── KeyboardButtonRequestChat.cs
│ │ │ │ ├── KeyboardButtonRequestManagedBot.cs
│ │ │ │ ├── KeyboardButtonRequestUsers.cs
│ │ │ │ ├── LinkPreviewOptions.cs
│ │ │ │ ├── LivePhoto.cs
│ │ │ │ ├── Location.cs
│ │ │ │ ├── LocationAddress.cs
│ │ │ │ ├── LoginUrl.cs
│ │ │ │ ├── ManagedBotCreated.cs
│ │ │ │ ├── ManagedBotUpdated.cs
│ │ │ │ ├── MaybeInaccessibleMessage/
│ │ │ │ │ ├── InaccessibleMessage.cs
│ │ │ │ │ ├── MaybeInaccessibleMessage.cs
│ │ │ │ │ └── Message.cs
│ │ │ │ ├── MenuButton/
│ │ │ │ │ ├── MenuButton.cs
│ │ │ │ │ ├── MenuButtonCommands.cs
│ │ │ │ │ ├── MenuButtonDefault.cs
│ │ │ │ │ └── MenuButtonWebApp.cs
│ │ │ │ ├── MessageAutoDeleteTimerChanged.cs
│ │ │ │ ├── MessageEntity.cs
│ │ │ │ ├── MessageID.cs
│ │ │ │ ├── MessageOrigin/
│ │ │ │ │ ├── MessageOrigin.cs
│ │ │ │ │ ├── MessageOriginChannel.cs
│ │ │ │ │ ├── MessageOriginChat.cs
│ │ │ │ │ ├── MessageOriginHiddenUser.cs
│ │ │ │ │ └── MessageOriginUser.cs
│ │ │ │ ├── MessageReactionCountUpdated.cs
│ │ │ │ ├── MessageReactionUpdated.cs
│ │ │ │ ├── OwnedGift/
│ │ │ │ │ ├── OwnedGift.cs
│ │ │ │ │ ├── OwnedGiftRegular.cs
│ │ │ │ │ └── OwnedGiftUnique.cs
│ │ │ │ ├── OwnedGifts.cs
│ │ │ │ ├── PaidMedia/
│ │ │ │ │ ├── PaidMedia.cs
│ │ │ │ │ ├── PaidMediaLivePhoto.cs
│ │ │ │ │ ├── PaidMediaPhoto.cs
│ │ │ │ │ ├── PaidMediaPreview.cs
│ │ │ │ │ └── PaidMediaVideo.cs
│ │ │ │ ├── PaidMediaInfo.cs
│ │ │ │ ├── PaidMessagePriceChanged.cs
│ │ │ │ ├── PhotoSize.cs
│ │ │ │ ├── Poll.cs
│ │ │ │ ├── PollAnswer.cs
│ │ │ │ ├── PollMedia.cs
│ │ │ │ ├── PollOption.cs
│ │ │ │ ├── PollOptionAdded.cs
│ │ │ │ ├── PollOptionDeleted.cs
│ │ │ │ ├── PreparedInlineMessage.cs
│ │ │ │ ├── PreparedKeyboardButton.cs
│ │ │ │ ├── ProximityAlertTriggered.cs
│ │ │ │ ├── ReactionCount.cs
│ │ │ │ ├── ReactionType/
│ │ │ │ │ ├── ReactionType.cs
│ │ │ │ │ ├── ReactionTypeCustomEmoji.cs
│ │ │ │ │ ├── ReactionTypeEmoji.cs
│ │ │ │ │ └── ReactionTypePaid.cs
│ │ │ │ ├── ReplyMarkup/
│ │ │ │ │ ├── ForceReply.cs
│ │ │ │ │ ├── InlineKeyboardMarkup.cs
│ │ │ │ │ ├── ReplyKeyboardMarkup.cs
│ │ │ │ │ ├── ReplyKeyboardRemove.cs
│ │ │ │ │ └── ReplyMarkup.cs
│ │ │ │ ├── ReplyParameters.cs
│ │ │ │ ├── ResponseParameters.cs
│ │ │ │ ├── SentGuestMessage.cs
│ │ │ │ ├── SentWebAppMessage.cs
│ │ │ │ ├── SharedUser.cs
│ │ │ │ ├── StarAmount.cs
│ │ │ │ ├── Story.cs
│ │ │ │ ├── StoryArea.cs
│ │ │ │ ├── StoryAreaPosition.cs
│ │ │ │ ├── StoryAreaType/
│ │ │ │ │ ├── StoryAreaType.cs
│ │ │ │ │ ├── StoryAreaTypeLink.cs
│ │ │ │ │ ├── StoryAreaTypeLocation.cs
│ │ │ │ │ ├── StoryAreaTypeSuggestedReaction.cs
│ │ │ │ │ ├── StoryAreaTypeUniqueGift.cs
│ │ │ │ │ └── StoryAreaTypeWeather.cs
│ │ │ │ ├── SuggestedPostApprovalFailed.cs
│ │ │ │ ├── SuggestedPostApproved.cs
│ │ │ │ ├── SuggestedPostDeclined.cs
│ │ │ │ ├── SuggestedPostInfo.cs
│ │ │ │ ├── SuggestedPostPaid.cs
│ │ │ │ ├── SuggestedPostParameters.cs
│ │ │ │ ├── SuggestedPostPrice.cs
│ │ │ │ ├── SuggestedPostRefunded.cs
│ │ │ │ ├── SwitchInlineQueryChosenChat.cs
│ │ │ │ ├── TextQuote.cs
│ │ │ │ ├── UniqueGift.cs
│ │ │ │ ├── UniqueGiftBackdrop.cs
│ │ │ │ ├── UniqueGiftBackdropColors.cs
│ │ │ │ ├── UniqueGiftColors.cs
│ │ │ │ ├── UniqueGiftInfo.cs
│ │ │ │ ├── UniqueGiftModel.cs
│ │ │ │ ├── UniqueGiftSymbol.cs
│ │ │ │ ├── User.cs
│ │ │ │ ├── UserChatBoosts.cs
│ │ │ │ ├── UserProfileAudios.cs
│ │ │ │ ├── UserProfilePhotos.cs
│ │ │ │ ├── UserRating.cs
│ │ │ │ ├── UsersShared.cs
│ │ │ │ ├── Venue.cs
│ │ │ │ ├── Video.cs
│ │ │ │ ├── VideoChatEnded.cs
│ │ │ │ ├── VideoChatParticipantsInvited.cs
│ │ │ │ ├── VideoChatScheduled.cs
│ │ │ │ ├── VideoChatStarted.cs
│ │ │ │ ├── VideoNote.cs
│ │ │ │ ├── VideoQuality.cs
│ │ │ │ ├── Voice.cs
│ │ │ │ ├── WebAppData.cs
│ │ │ │ ├── WebAppInfo.cs
│ │ │ │ └── WriteAccessAllowed.cs
│ │ │ ├── BotRequestException.cs
│ │ │ ├── BotResponse.cs
│ │ │ ├── Constants/
│ │ │ │ ├── ChatActions.cs
│ │ │ │ ├── ChatTypes.cs
│ │ │ │ ├── FormatStyles.cs
│ │ │ │ ├── InlineKeyboardButtonTypes.cs
│ │ │ │ ├── MessageEntityTypes.cs
│ │ │ │ ├── PollTypes.cs
│ │ │ │ ├── Stickers/
│ │ │ │ │ ├── StickerFormats.cs
│ │ │ │ │ └── StickerTypes.cs
│ │ │ │ └── UpdateTypes.cs
│ │ │ ├── Converters/
│ │ │ │ ├── BackgroundFillConverter.cs
│ │ │ │ ├── BackgroundTypeConverter.cs
│ │ │ │ ├── BotCommandScopeConverter.cs
│ │ │ │ ├── ChatBoostSourceConverter.cs
│ │ │ │ ├── ChatMemberConverter.cs
│ │ │ │ ├── DiscriminatorJsonConverter.cs
│ │ │ │ ├── InlineQueryResultConverter.cs
│ │ │ │ ├── InputMediaConverter.cs
│ │ │ │ ├── InputMessageContentConverter.cs
│ │ │ │ ├── InputPaidMediaConverter.cs
│ │ │ │ ├── InputProfilePhotoConverter.cs
│ │ │ │ ├── InputStoryContentConverter.cs
│ │ │ │ ├── MaybeInaccessibleMessageConverter.cs
│ │ │ │ ├── MenuButtonConverter.cs
│ │ │ │ ├── MessageOriginConverter.cs
│ │ │ │ ├── OwnedGiftConverter.cs
│ │ │ │ ├── PaidMediaConverter.cs
│ │ │ │ ├── PassportElementErrorConverter.cs
│ │ │ │ ├── ReactionTypeConverter.cs
│ │ │ │ ├── ReplyMarkupConverter.cs
│ │ │ │ ├── RevenueWithdrawalStateConverter.cs
│ │ │ │ ├── StoryAreaTypeConverter.cs
│ │ │ │ └── TransactionPartnerConverter.cs
│ │ │ ├── Games/
│ │ │ │ ├── Args/
│ │ │ │ │ ├── SendGameArgs.cs
│ │ │ │ │ └── SetGameScoreArgs.cs
│ │ │ │ ├── CallbackGame.cs
│ │ │ │ ├── Game.cs
│ │ │ │ ├── GameHighScore.cs
│ │ │ │ ├── getGameHighScores.cs
│ │ │ │ ├── sendGame.cs
│ │ │ │ └── setGameScore.cs
│ │ │ ├── GettingUpdates/
│ │ │ │ ├── Args/
│ │ │ │ │ ├── GetUpdatesArgs.cs
│ │ │ │ │ └── SetWebhookArgs.cs
│ │ │ │ ├── Update.cs
│ │ │ │ ├── WebhookInfo.cs
│ │ │ │ ├── deleteWebhook.cs
│ │ │ │ ├── getUpdates.cs
│ │ │ │ ├── getWebhookInfo.cs
│ │ │ │ └── setWebhook.cs
│ │ │ ├── InlineMode/
│ │ │ │ ├── Args/
│ │ │ │ │ └── AnswerInlineQueryArgs.cs
│ │ │ │ ├── ChosenInlineResult.cs
│ │ │ │ ├── InlineQuery.cs
│ │ │ │ ├── InlineQueryResult/
│ │ │ │ │ ├── InlineQueryResult.cs
│ │ │ │ │ ├── InlineQueryResultArticle.cs
│ │ │ │ │ ├── InlineQueryResultAudio.cs
│ │ │ │ │ ├── InlineQueryResultCachedAudio.cs
│ │ │ │ │ ├── InlineQueryResultCachedDocument.cs
│ │ │ │ │ ├── InlineQueryResultCachedGif.cs
│ │ │ │ │ ├── InlineQueryResultCachedMpeg4Gif.cs
│ │ │ │ │ ├── InlineQueryResultCachedPhoto.cs
│ │ │ │ │ ├── InlineQueryResultCachedSticker.cs
│ │ │ │ │ ├── InlineQueryResultCachedVideo.cs
│ │ │ │ │ ├── InlineQueryResultCachedVoice.cs
│ │ │ │ │ ├── InlineQueryResultContact.cs
│ │ │ │ │ ├── InlineQueryResultDocument.cs
│ │ │ │ │ ├── InlineQueryResultGame.cs
│ │ │ │ │ ├── InlineQueryResultGif.cs
│ │ │ │ │ ├── InlineQueryResultLocation.cs
│ │ │ │ │ ├── InlineQueryResultMpeg4Gif.cs
│ │ │ │ │ ├── InlineQueryResultPhoto.cs
│ │ │ │ │ ├── InlineQueryResultVenue.cs
│ │ │ │ │ ├── InlineQueryResultVideo.cs
│ │ │ │ │ └── InlineQueryResultVoice.cs
│ │ │ │ ├── InlineQueryResultsButton.cs
│ │ │ │ ├── InputMessageContent/
│ │ │ │ │ ├── InputContactMessageContent.cs
│ │ │ │ │ ├── InputInvoiceMessageContent.cs
│ │ │ │ │ ├── InputLocationMessageContent.cs
│ │ │ │ │ ├── InputMessageContent.cs
│ │ │ │ │ ├── InputTextMessageContent.cs
│ │ │ │ │ └── InputVenueMessageContent.cs
│ │ │ │ └── answerInlineQuery.cs
│ │ │ ├── MethodNames.cs
│ │ │ ├── Payments/
│ │ │ │ ├── AffiliateInfo.cs
│ │ │ │ ├── Args/
│ │ │ │ │ ├── AnswerShippingQueryArgs.cs
│ │ │ │ │ ├── CreateInvoiceLinkArgs.cs
│ │ │ │ │ └── SendInvoiceArgs.cs
│ │ │ │ ├── Invoice.cs
│ │ │ │ ├── LabeledPrice.cs
│ │ │ │ ├── OrderInfo.cs
│ │ │ │ ├── PaidMediaPurchased.cs
│ │ │ │ ├── PreCheckoutQuery.cs
│ │ │ │ ├── RefundedPayment.cs
│ │ │ │ ├── RevenueWithdrawalState/
│ │ │ │ │ ├── RevenueWithdrawalState.cs
│ │ │ │ │ ├── RevenueWithdrawalStateFailed.cs
│ │ │ │ │ ├── RevenueWithdrawalStatePending.cs
│ │ │ │ │ └── RevenueWithdrawalStateSucceeded.cs
│ │ │ │ ├── ShippingAddress.cs
│ │ │ │ ├── ShippingOption.cs
│ │ │ │ ├── ShippingQuery.cs
│ │ │ │ ├── StarTransaction.cs
│ │ │ │ ├── StarTransactions.cs
│ │ │ │ ├── SuccessfulPayment.cs
│ │ │ │ ├── TransactionPartner/
│ │ │ │ │ ├── TransactionPartner.cs
│ │ │ │ │ ├── TransactionPartnerAffiliateProgram.cs
│ │ │ │ │ ├── TransactionPartnerChat.cs
│ │ │ │ │ ├── TransactionPartnerFragment.cs
│ │ │ │ │ ├── TransactionPartnerOther.cs
│ │ │ │ │ ├── TransactionPartnerTelegramAds.cs
│ │ │ │ │ ├── TransactionPartnerTelegramApi.cs
│ │ │ │ │ └── TransactionPartnerUser.cs
│ │ │ │ ├── answerPreCheckoutQuery.cs
│ │ │ │ ├── answerShippingQuery.cs
│ │ │ │ ├── createInvoiceLink.cs
│ │ │ │ ├── editUserStarSubscription.cs
│ │ │ │ ├── getMyStarBalance.cs
│ │ │ │ ├── getStarTransactions.cs
│ │ │ │ ├── refundStarPayment.cs
│ │ │ │ └── sendInvoice.cs
│ │ │ ├── PropertyNames.cs
│ │ │ ├── README.md
│ │ │ ├── Stickers/
│ │ │ │ ├── Args/
│ │ │ │ │ ├── AddStickerToSetArgs.cs
│ │ │ │ │ ├── CreateNewStickerSetArgs.cs
│ │ │ │ │ ├── GetCustomEmojiStickersArgs.cs
│ │ │ │ │ ├── ReplaceStickerInSetArgs.cs
│ │ │ │ │ ├── SendGiftArgs.cs
│ │ │ │ │ ├── SendStickerArgs.cs
│ │ │ │ │ ├── SetStickerEmojiListArgs.cs
│ │ │ │ │ ├── SetStickerKeywordsArgs.cs
│ │ │ │ │ ├── SetStickerMaskPositionArgs.cs
│ │ │ │ │ ├── SetStickerSetThumbnailArgs.cs
│ │ │ │ │ └── UploadStickerFileArgs.cs
│ │ │ │ ├── Gift.cs
│ │ │ │ ├── Gifts.cs
│ │ │ │ ├── InputSticker.cs
│ │ │ │ ├── MaskPosition.cs
│ │ │ │ ├── Sticker.cs
│ │ │ │ ├── StickerSet.cs
│ │ │ │ ├── addStickerToSet.cs
│ │ │ │ ├── createNewStickerSet.cs
│ │ │ │ ├── deleteStickerFromSet.cs
│ │ │ │ ├── deleteStickerSet.cs
│ │ │ │ ├── getAvailableGifts.cs
│ │ │ │ ├── getCustomEmojiStickers.cs
│ │ │ │ ├── getStickerSet.cs
│ │ │ │ ├── removeChatVerification.cs
│ │ │ │ ├── removeUserVerification.cs
│ │ │ │ ├── replaceStickerInSet.cs
│ │ │ │ ├── sendGift.cs
│ │ │ │ ├── sendSticker.cs
│ │ │ │ ├── setCustomEmojiStickerSetThumbnail.cs
│ │ │ │ ├── setStickerEmojiList.cs
│ │ │ │ ├── setStickerKeywords.cs
│ │ │ │ ├── setStickerMaskPosition.cs
│ │ │ │ ├── setStickerPositionInSet.cs
│ │ │ │ ├── setStickerSetThumbnail.cs
│ │ │ │ ├── setStickerSetTitle.cs
│ │ │ │ ├── uploadStickerFile.cs
│ │ │ │ ├── verifyChat.cs
│ │ │ │ └── verifyUser.cs
│ │ │ ├── Telegram.BotAPI.csproj
│ │ │ ├── TelegramBotClient.API.cs
│ │ │ ├── TelegramBotClient.ITelegramBotClient.cs
│ │ │ ├── TelegramBotClient.cs
│ │ │ ├── TelegramBotClientOptions.cs
│ │ │ ├── TelegramConstants.cs
│ │ │ ├── TelegramPassport/
│ │ │ │ ├── Args/
│ │ │ │ │ └── SetPassportDataErrorsArgs.cs
│ │ │ │ ├── EncryptedCredentials.cs
│ │ │ │ ├── EncryptedPassportElement.cs
│ │ │ │ ├── PassportData.cs
│ │ │ │ ├── PassportElementError/
│ │ │ │ │ ├── PassportElementError.cs
│ │ │ │ │ ├── PassportElementErrorDataField.cs
│ │ │ │ │ ├── PassportElementErrorFile.cs
│ │ │ │ │ ├── PassportElementErrorFiles.cs
│ │ │ │ │ ├── PassportElementErrorFrontSide.cs
│ │ │ │ │ ├── PassportElementErrorReverseSide.cs
│ │ │ │ │ ├── PassportElementErrorSelfie.cs
│ │ │ │ │ ├── PassportElementErrorTranslationFile.cs
│ │ │ │ │ ├── PassportElementErrorTranslationFiles.cs
│ │ │ │ │ └── PassportElementErrorUnspecified.cs
│ │ │ │ ├── PassportFile.cs
│ │ │ │ └── setPassportDataErrors.cs
│ │ │ ├── UpdatingMessages/
│ │ │ │ ├── Args/
│ │ │ │ │ ├── DeleteBusinessMessagesArgs.cs
│ │ │ │ │ ├── DeleteMessagesArgs.cs
│ │ │ │ │ ├── EditMessageCaptionArgs.cs
│ │ │ │ │ ├── EditMessageChecklistArgs.cs
│ │ │ │ │ ├── EditMessageLiveLocationArgs.cs
│ │ │ │ │ ├── EditMessageMediaArgs.cs
│ │ │ │ │ ├── EditMessageReplyMarkupArgs.cs
│ │ │ │ │ ├── EditMessageTextArgs.cs
│ │ │ │ │ ├── EditStoryArgs.cs
│ │ │ │ │ ├── GetBusinessAccountGiftsArgs.cs
│ │ │ │ │ ├── GiftPremiumSubscriptionArgs.cs
│ │ │ │ │ ├── PostStoryArgs.cs
│ │ │ │ │ ├── SendGiftArgs.cs
│ │ │ │ │ ├── SetBusinessAccountGiftSettingsArgs.cs
│ │ │ │ │ ├── SetBusinessAccountProfilePhotoArgs.cs
│ │ │ │ │ ├── StopMessageLiveLocationArgs.cs
│ │ │ │ │ └── StopPollArgs.cs
│ │ │ │ ├── approveSuggestedPost.cs
│ │ │ │ ├── convertGiftToStars.cs
│ │ │ │ ├── declineSuggestedPost.cs
│ │ │ │ ├── deleteAllMessageReactions.cs
│ │ │ │ ├── deleteBusinessMessages.cs
│ │ │ │ ├── deleteMessage.cs
│ │ │ │ ├── deleteMessageReaction.cs
│ │ │ │ ├── deleteMessages.cs
│ │ │ │ ├── deleteStory.cs
│ │ │ │ ├── editMessageCaption.cs
│ │ │ │ ├── editMessageChecklist.cs
│ │ │ │ ├── editMessageLiveLocation.cs
│ │ │ │ ├── editMessageMedia.cs
│ │ │ │ ├── editMessageReplyMarkup.cs
│ │ │ │ ├── editMessageText.cs
│ │ │ │ ├── editStory.cs
│ │ │ │ ├── getAvailableGifts.cs
│ │ │ │ ├── getBusinessAccountGifts.cs
│ │ │ │ ├── getBusinessAccountStarBalance.cs
│ │ │ │ ├── giftPremiumSubscription.cs
│ │ │ │ ├── postStory.cs
│ │ │ │ ├── readBusinessMessage.cs
│ │ │ │ ├── removeBusinessAccountProfilePhoto.cs
│ │ │ │ ├── removeChatVerification.cs
│ │ │ │ ├── removeUserVerification.cs
│ │ │ │ ├── sendGift.cs
│ │ │ │ ├── setBusinessAccountBio.cs
│ │ │ │ ├── setBusinessAccountGiftSettings.cs
│ │ │ │ ├── setBusinessAccountName.cs
│ │ │ │ ├── setBusinessAccountProfilePhoto.cs
│ │ │ │ ├── setBusinessAccountUsername.cs
│ │ │ │ ├── stopMessageLiveLocation.cs
│ │ │ │ ├── stopPoll.cs
│ │ │ │ ├── transferBusinessAccountStars.cs
│ │ │ │ ├── transferGift.cs
│ │ │ │ ├── upgradeGift.cs
│ │ │ │ ├── verifyChat.cs
│ │ │ │ └── verifyUser.cs
│ │ │ └── Usings.cs
│ │ └── Telegram.BotAPI.Extensions/
│ │ ├── Builders/
│ │ │ ├── AppendButtonOptions.cs
│ │ │ ├── InlineKeyboardBuilder.cs
│ │ │ ├── KeyboardBuilderBase.cs
│ │ │ └── ReplyKeyboardBuilder.cs
│ │ ├── Commands/
│ │ │ ├── BotCommandAttribute.cs
│ │ │ ├── BotCommandParser.cs
│ │ │ ├── BotCommandVisibility.cs
│ │ │ ├── BotCommandVisibilityAttribute.cs
│ │ │ └── LocalizedBotCommandAttribute.cs
│ │ ├── HtmlTextFormatter.cs
│ │ ├── IAsyncUpdateHandler.cs
│ │ ├── IUpdateHandler.cs
│ │ ├── LongPolling/
│ │ │ ├── LongPollingExtensions.cs
│ │ │ └── LongPollingOptions.cs
│ │ ├── README.md
│ │ ├── SimpleUpdateHandlerBase.cs
│ │ ├── Telegram.BotAPI.Extensions.csproj
│ │ ├── TelegramBotClientExtensions.cs
│ │ └── UpdateExtensions.cs
│ └── tests/
│ └── Telegram.BotAPI.Tests/
│ ├── Args.cs
│ ├── CommandParserTests.cs
│ ├── ConverterTests.cs
│ ├── ExtensionsTests.cs
│ ├── MethodTests.cs
│ ├── Serialization.cs
│ ├── Telegram.BotAPI.Tests.csproj
│ └── Usings.cs
└── tools/
├── .editorconfig
├── .vscode/
│ ├── launch.json
│ └── settings.json
├── README.md
├── constants.csx
├── generator.csx
├── main.csx
├── mapper.csx
├── models.csx
├── omnisharp.json
└── scrapper.csx
Showing preview only (226K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (1912 symbols across 685 files)
FILE: src/examples/BotTemplate/MyBot.cs
class MyBot (line 15) | public sealed class MyBot : SimpleUpdateHandlerBase
method MyBot (line 20) | public MyBot()
method OnUpdate (line 26) | public override void OnUpdate(Update update)
method OnMessage (line 36) | protected override void OnMessage(Message message)
method OnCommand (line 76) | protected override void OnCommand(Message message, string cmd, string ...
method OnException (line 89) | protected override void OnException(Exception exp)
FILE: src/examples/HelloBotNET.AppService/Services/HelloBot.CommandHandler.cs
class HelloBot (line 14) | public partial class HelloBot
method OnCommand (line 16) | protected override void OnCommand(Message message, string commandName,...
FILE: src/examples/HelloBotNET.AppService/Services/HelloBot.ErrorHandler.cs
class HelloBot (line 12) | public partial class HelloBot
method OnBotException (line 14) | protected override void OnBotException(BotRequestException exp) =>
method OnException (line 17) | protected override void OnException(Exception exp) =>
FILE: src/examples/HelloBotNET.AppService/Services/HelloBot.MessageHandler.cs
class HelloBot (line 13) | public partial class HelloBot
method OnMessage (line 15) | protected override void OnMessage(Message message)
FILE: src/examples/HelloBotNET.AppService/Services/HelloBot.UpdateHandler.cs
class HelloBot (line 13) | public partial class HelloBot
method OnUpdate (line 15) | public override void OnUpdate(Update update)
FILE: src/examples/HelloBotNET.AppService/Services/HelloBot.cs
class HelloBot (line 14) | public partial class HelloBot : SimpleUpdateHandlerBase
method HelloBot (line 18) | public HelloBot(ILogger<HelloBot> logger, IConfiguration configuration)
FILE: src/examples/HelloBotNET.AppService/Worker.cs
class Worker (line 10) | public class Worker(ILogger<Worker> logger, HelloBot bot) : BackgroundSe...
method ExecuteAsync (line 12) | protected override async Task ExecuteAsync(CancellationToken stoppingT...
method ProcessUpdate (line 41) | private void ProcessUpdate(Update update) => bot.OnUpdate(update);
method StopAsync (line 43) | public override Task StopAsync(CancellationToken cancellationToken)
FILE: src/examples/HelloBotNET.Webhook/Controllers/BotController.cs
class BotController (line 10) | [ApiController]
method BotController (line 18) | public BotController(ILogger<BotController> logger, IConfiguration con...
method PostAsync (line 25) | [HttpPost]
FILE: src/examples/HelloBotNET.Webhook/Extensions/ApplicationBuilderExtensions.cs
class ApplicationBuilderExtensions (line 14) | public static class ApplicationBuilderExtensions
method UseTelegramWebhook (line 22) | public static IApplicationBuilder UseTelegramWebhook(this IApplication...
FILE: src/examples/HelloBotNET.Webhook/Services/HelloBot.CommandHandler.cs
class HelloBot (line 14) | public partial class HelloBot
method OnCommand (line 16) | protected override void OnCommand(Message message, string commandName,...
FILE: src/examples/HelloBotNET.Webhook/Services/HelloBot.ErrorHandler.cs
class HelloBot (line 12) | public partial class HelloBot
method OnBotException (line 14) | protected override void OnBotException(BotRequestException exp) =>
method OnException (line 17) | protected override void OnException(Exception exp) =>
FILE: src/examples/HelloBotNET.Webhook/Services/HelloBot.MessageHandler.cs
class HelloBot (line 13) | public partial class HelloBot
method OnMessage (line 15) | protected override void OnMessage(Message message)
FILE: src/examples/HelloBotNET.Webhook/Services/HelloBot.UpdateHandler.cs
class HelloBot (line 13) | public partial class HelloBot
method OnUpdate (line 15) | public override void OnUpdate(Update update)
FILE: src/examples/HelloBotNET.Webhook/Services/HelloBot.cs
class HelloBot (line 14) | public partial class HelloBot : SimpleUpdateHandlerBase
method HelloBot (line 18) | public HelloBot(ILogger<HelloBot> logger, IConfiguration configuration)
FILE: src/examples/Telegram Calendar/Calendar.cs
class Calendar (line 9) | public static class Calendar
method New (line 11) | public static IKB[][] New(DateTime dateTime)
method New (line 33) | public static IKB[][] New(Month mon)
method New (line 87) | public static IKB[][] New(uint year)
FILE: src/examples/Telegram Calendar/CalendarBot.cs
class CalendarBot (line 14) | public sealed class CalendarBot : SimpleUpdateHandlerBase
method OnMessage (line 18) | protected override void OnMessage(Message message)
method OnCallbackQuery (line 35) | protected override void OnCallbackQuery(CallbackQuery query)
method OnException (line 68) | protected override void OnException(Exception exp)
FILE: src/examples/Telegram Calendar/Models/Day.cs
class Day (line 8) | public sealed class Day(DayOfWeek name, ushort number)
FILE: src/examples/Telegram Calendar/Models/Month.cs
class Month (line 8) | public sealed class Month
method Month (line 10) | public Month(MonthName monthName, uint year)
FILE: src/examples/Telegram Calendar/Models/MonthName.cs
type MonthName (line 6) | public enum MonthName
FILE: src/library/Telegram.BotAPI.Extensions/Builders/AppendButtonOptions.cs
type AppendButtonOptions (line 8) | public record AppendButtonOptions(string? IconCustomEmojiId = null, stri...
FILE: src/library/Telegram.BotAPI.Extensions/Builders/InlineKeyboardBuilder.cs
class InlineKeyboardBuilder (line 12) | public sealed class InlineKeyboardBuilder(
method AppendUrl (line 23) | public InlineKeyboardBuilder AppendUrl(
method AppendCallbackData (line 36) | public InlineKeyboardBuilder AppendCallbackData(
method AppendWebApp (line 49) | public InlineKeyboardBuilder AppendWebApp(
method AppendWebApp (line 62) | public InlineKeyboardBuilder AppendWebApp(
method AppendLoginUrl (line 75) | public InlineKeyboardBuilder AppendLoginUrl(
method AppendLoginUrl (line 88) | public InlineKeyboardBuilder AppendLoginUrl(
method AppendSwitchInlineQuery (line 101) | public InlineKeyboardBuilder AppendSwitchInlineQuery(
method AppendSwitchInlineQueryCurrentChat (line 114) | public InlineKeyboardBuilder AppendSwitchInlineQueryCurrentChat(
method AppendSwitchInlineQueryChosenChat (line 134) | public InlineKeyboardBuilder AppendSwitchInlineQueryChosenChat(
method AppendCopyText (line 151) | public InlineKeyboardBuilder AppendCopyText(
method AppendCallbackGame (line 163) | public InlineKeyboardBuilder AppendCallbackGame(
method AppendPay (line 177) | public InlineKeyboardBuilder AppendPay(string text, AppendButtonOption...
method Append (line 180) | private InlineKeyboardBuilder Append(InlineKeyboardButton button, Appe...
FILE: src/library/Telegram.BotAPI.Extensions/Builders/KeyboardBuilderBase.cs
class KeyboardBuilderBase (line 13) | public abstract class KeyboardBuilderBase<TBuilder, TButton> : IEnumerab...
method KeyboardBuilderBase (line 19) | protected KeyboardBuilderBase(IEnumerable<IEnumerable<TButton>>? keybo...
method Append (line 30) | public TBuilder Append(TButton button)
method AppendRow (line 46) | public TBuilder AppendRow()
method GetEnumerator (line 56) | IEnumerator<IEnumerable<TButton>> IEnumerable<IEnumerable<TButton>>.Ge...
method GetEnumerator (line 59) | IEnumerator IEnumerable.GetEnumerator() => this.rows.GetEnumerator();
FILE: src/library/Telegram.BotAPI.Extensions/Builders/ReplyKeyboardBuilder.cs
class ReplyKeyboardBuilder (line 11) | public sealed class ReplyKeyboardBuilder(IEnumerable<IEnumerable<Keyboar...
method AppendText (line 20) | public ReplyKeyboardBuilder AppendText(string text, AppendButtonOption...
method AppendRequestUsers (line 30) | public ReplyKeyboardBuilder AppendRequestUsers(
method AppendRequestUsers (line 43) | public ReplyKeyboardBuilder AppendRequestUsers(
method AppendRequestChat (line 56) | public ReplyKeyboardBuilder AppendRequestChat(
method AppendRequestChat (line 70) | public ReplyKeyboardBuilder AppendRequestChat(
method AppendRequestContact (line 89) | public ReplyKeyboardBuilder AppendRequestContact(
method AppendRequestLocation (line 101) | public ReplyKeyboardBuilder AppendRequestLocation(
method AppendRequestPoll (line 115) | public ReplyKeyboardBuilder AppendRequestPoll(
method AppendRequestPoll (line 128) | public ReplyKeyboardBuilder AppendRequestPoll(
method AppendWebApp (line 141) | public ReplyKeyboardBuilder AppendWebApp(
method AppendWebApp (line 154) | public ReplyKeyboardBuilder AppendWebApp(
method Append (line 160) | private ReplyKeyboardBuilder Append(KeyboardButton button, AppendButto...
FILE: src/library/Telegram.BotAPI.Extensions/Commands/BotCommandAttribute.cs
class BotCommandAttribute (line 9) | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
method BotCommandAttribute (line 33) | public BotCommandAttribute(string command, string description, params ...
FILE: src/library/Telegram.BotAPI.Extensions/Commands/BotCommandParser.cs
class BotCommandParser (line 9) | public static class BotCommandParser
method Parse (line 21) | public static (string commandName, string? args, string? username) Par...
method Parse (line 36) | public static (string commandName, string? args, string? username) Par...
method TryParse (line 51) | public static bool TryParse(
method TryParse (line 72) | public static bool TryParse(
FILE: src/library/Telegram.BotAPI.Extensions/Commands/BotCommandVisibility.cs
type BotCommandVisibility (line 6) | [Flags]
FILE: src/library/Telegram.BotAPI.Extensions/Commands/BotCommandVisibilityAttribute.cs
class BotCommandVisibilityAttribute (line 7) | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
FILE: src/library/Telegram.BotAPI.Extensions/Commands/LocalizedBotCommandAttribute.cs
class LocalizedBotCommandAttribute (line 11) | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowM...
method LocalizedBotCommandAttribute (line 37) | public LocalizedBotCommandAttribute(string languageCode, string comman...
FILE: src/library/Telegram.BotAPI.Extensions/HtmlTextFormatter.cs
class HtmlTextFormatter (line 12) | public static class HtmlTextFormatter
method FromEntities (line 19) | public static string FromEntities(string input, IEnumerable<MessageEnt...
method Bold (line 107) | public static string Bold(string input)
method Italic (line 119) | public static string Italic(string input)
method Underline (line 131) | public static string Underline(string input)
method Strikethrough (line 143) | public static string Strikethrough(string input)
method Spoiler (line 153) | public static string Spoiler(string input)
method Code (line 163) | public static string Code(string input)
method Pre (line 175) | public static string Pre(string input, string? language = null)
method TextLink (line 191) | public static string TextLink(string input, string url)
method TextMention (line 209) | public static string TextMention(string input, long userId)
method CustomEmoji (line 225) | public static string CustomEmoji(string customEmojiId, string emoji)
method EncodeHtmlCharacters (line 249) | public static string EncodeHtmlCharacters(string input)
FILE: src/library/Telegram.BotAPI.Extensions/IAsyncUpdateHandler.cs
type IAsyncUpdateHandler (line 11) | public interface IAsyncUpdateHandler
method OnUpdateAsync (line 19) | Task OnUpdateAsync(Update update, CancellationToken cancellationToken ...
FILE: src/library/Telegram.BotAPI.Extensions/IUpdateHandler.cs
type IUpdateHandler (line 11) | public interface IUpdateHandler
method OnUpdate (line 17) | void OnUpdate(Update update);
FILE: src/library/Telegram.BotAPI.Extensions/LongPolling/LongPollingExtensions.cs
class LongPollingExtensions (line 8) | public static class LongPollingExtensions
method StartLongPolling (line 19) | public static async Task StartLongPolling(
FILE: src/library/Telegram.BotAPI.Extensions/LongPolling/LongPollingOptions.cs
type LongPollingOptions (line 9) | public record LongPollingOptions
FILE: src/library/Telegram.BotAPI.Extensions/SimpleUpdateHandlerBase.cs
class SimpleUpdateHandlerBase (line 15) | public abstract class SimpleUpdateHandlerBase : IUpdateHandler, IAsyncUp...
method SetBotUserName (line 19) | protected void SetBotUserName(string botUserName) => this.cmdBotUserNa...
method OnUpdate (line 23) | public virtual void OnUpdate(Update update)
method OnUpdateAsync (line 123) | public virtual async Task OnUpdateAsync(
method OnMessage (line 263) | protected virtual void OnMessage(Message message)
method OnMessageAsync (line 292) | protected virtual Task OnMessageAsync(
method OnEditedMessage (line 330) | protected virtual void OnEditedMessage(Message message) =>
method OnEditedMessageAsync (line 339) | protected virtual Task OnEditedMessageAsync(
method OnChannelPost (line 348) | protected virtual void OnChannelPost(Message message) =>
method OnChannelPostAsync (line 357) | protected virtual Task OnChannelPostAsync(
method OnEditedChannelPost (line 366) | protected virtual void OnEditedChannelPost(Message message) =>
method OnEditedChannelPostAsync (line 375) | protected virtual Task OnEditedChannelPostAsync(
method OnBusinessConnectionAsync (line 386) | protected virtual Task OnBusinessConnectionAsync(
method OnBusinessConnection (line 395) | protected virtual void OnBusinessConnection(BusinessConnection busines...
method OnBusinessMessageAsync (line 404) | protected virtual Task OnBusinessMessageAsync(
method OnBusinessMessage (line 413) | protected virtual void OnBusinessMessage(Message businessMessage) =>
method OnEditedBusinessMessageAsync (line 422) | protected virtual Task OnEditedBusinessMessageAsync(
method OnEditedBusinessMessage (line 431) | protected virtual void OnEditedBusinessMessage(Message editedBusinessM...
method OnDeletedBusinessMessagesAsync (line 440) | protected virtual Task OnDeletedBusinessMessagesAsync(
method OnDeletedBusinessMessages (line 449) | protected virtual void OnDeletedBusinessMessages(
method OnMessageReaction (line 457) | protected virtual void OnMessageReaction(MessageReactionUpdated messag...
method OnMessageReactionAsync (line 466) | protected virtual Task OnMessageReactionAsync(
method OnMessageReactionCount (line 476) | protected virtual void OnMessageReactionCount(
method OnMessageReactionCountAsync (line 486) | protected virtual Task OnMessageReactionCountAsync(
method OnInlineQuery (line 495) | protected virtual void OnInlineQuery(InlineQuery inlineQuery) =>
method OnInlineQueryAsync (line 504) | protected virtual Task OnInlineQueryAsync(
method OnChosenInlineResult (line 514) | protected virtual void OnChosenInlineResult(ChosenInlineResult chosenI...
method OnChosenInlineResultAsync (line 523) | protected virtual Task OnChosenInlineResultAsync(
method OnCallbackQuery (line 532) | protected virtual void OnCallbackQuery(CallbackQuery callbackQuery) =>
method OnCallbackQueryAsync (line 541) | protected virtual Task OnCallbackQueryAsync(
method OnShippingQuery (line 550) | protected virtual void OnShippingQuery(ShippingQuery shippingQuery) =>
method OnShippingQueryAsync (line 559) | protected virtual Task OnShippingQueryAsync(
method OnPreCheckoutQuery (line 568) | protected virtual void OnPreCheckoutQuery(PreCheckoutQuery preCheckout...
method OnPreCheckoutQueryAsync (line 577) | protected virtual Task OnPreCheckoutQueryAsync(
method OnPurchasedPaidMedia (line 586) | protected virtual void OnPurchasedPaidMedia(PaidMediaPurchased purchas...
method OnPurchasedPaidMediaAsync (line 595) | protected virtual Task OnPurchasedPaidMediaAsync(
method OnPoll (line 604) | protected virtual void OnPoll(Poll poll) => this.OnPollAsync(poll).Wai...
method OnPollAsync (line 612) | protected virtual Task OnPollAsync(Poll poll, CancellationToken cancel...
method OnPollAnswer (line 619) | protected virtual void OnPollAnswer(PollAnswer pollAnswer) =>
method OnPollAnswerAsync (line 628) | protected virtual Task OnPollAnswerAsync(
method OnMyChatMember (line 637) | protected virtual void OnMyChatMember(ChatMemberUpdated myChatMember) =>
method OnMyChatMemberAsync (line 646) | protected virtual Task OnMyChatMemberAsync(
method OnChatMember (line 655) | protected virtual void OnChatMember(ChatMemberUpdated chatMember) =>
method OnChatMemberAsync (line 664) | protected virtual Task OnChatMemberAsync(
method OnChatJoinRequest (line 674) | protected virtual void OnChatJoinRequest(ChatJoinRequest chatJoinReque...
method OnChatJoinRequestAsync (line 683) | protected virtual Task OnChatJoinRequestAsync(
method OnChatBoost (line 692) | protected virtual void OnChatBoost(ChatBoostUpdated chatBoost) =>
method OnChatBoostAsync (line 701) | protected virtual Task OnChatBoostAsync(
method OnRemovedChatBoost (line 710) | protected virtual void OnRemovedChatBoost(ChatBoostRemoved removedChat...
method OnRemovedChatBoostAsync (line 719) | protected virtual Task OnRemovedChatBoostAsync(
method OnCommand (line 732) | protected virtual void OnCommand(Message message, string commandName, ...
method OnCommandAsync (line 742) | protected virtual Task OnCommandAsync(
method OnException (line 753) | protected virtual void OnException(Exception exp) => this.OnExceptionA...
method OnExceptionAsync (line 760) | protected virtual Task OnExceptionAsync(
FILE: src/library/Telegram.BotAPI.Extensions/TelegramBotClientExtensions.cs
class TelegramBotClientExtensions (line 12) | public static class TelegramBotClientExtensions
method BuildFileDownloadLink (line 21) | public static string? BuildFileDownloadLink(this ITelegramBotClient cl...
method BuildFileDownloadLink (line 31) | public static string BuildFileDownloadLink(this ITelegramBotClient cli...
method BuildFileDownloadUri (line 58) | public static Uri? BuildFileDownloadUri(this ITelegramBotClient client...
method BuildFileDownloadUri (line 70) | public static Uri BuildFileDownloadUri(this ITelegramBotClient client,...
FILE: src/library/Telegram.BotAPI.Extensions/UpdateExtensions.cs
class UpdateExtensions (line 13) | public static class UpdateExtensions
method GetUpdateType (line 22) | public static string GetUpdateType(this Update update)
FILE: src/library/Telegram.BotAPI/Abstractions/ITelegramBot.cs
type ITelegramBot (line 12) | [Obsolete(
method OnUpdate (line 21) | void OnUpdate(Update update);
method OnUpdateAsync (line 30) | Task OnUpdateAsync(Update update, CancellationToken cancellationToken ...
FILE: src/library/Telegram.BotAPI/Abstractions/ITelegramBotClient.cs
type ITelegramBotClient (line 12) | public interface ITelegramBotClient
method CallMethod (line 30) | TResult CallMethod<TResult>(string method, object? args = null);
method CallMethodAsync (line 45) | Task<TResult> CallMethodAsync<TResult>(
method CallMethodDirect (line 62) | BotResponse<TReturn> CallMethodDirect<TReturn>(string method, object? ...
method CallMethodDirectAsync (line 77) | Task<BotResponse<TReturn>> CallMethodDirectAsync<TReturn>(
FILE: src/library/Telegram.BotAPI/Abstractions/SendAttachedFilesArgsBase.cs
class AttachedFilesArgsBase (line 11) | public abstract class AttachedFilesArgsBase
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/AnswerCallbackQueryArgs.cs
class AnswerCallbackQueryArgs (line 12) | public class AnswerCallbackQueryArgs
method AnswerCallbackQueryArgs (line 18) | public AnswerCallbackQueryArgs(string callbackQueryId)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/AnswerGuestQueryArgs.cs
class AnswerGuestQueryArgs (line 12) | public class AnswerGuestQueryArgs
method AnswerGuestQueryArgs (line 19) | public AnswerGuestQueryArgs(string guestQueryId, InlineQueryResult res...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/AnswerWebAppQueryArgs.cs
class AnswerWebAppQueryArgs (line 12) | public class AnswerWebAppQueryArgs
method AnswerWebAppQueryArgs (line 19) | public AnswerWebAppQueryArgs(string webAppQueryId, InlineQueryResult r...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/CopyMessageArgs.cs
class CopyMessageArgs (line 12) | public class CopyMessageArgs
method CopyMessageArgs (line 20) | public CopyMessageArgs(long chatId, long fromChatId, int messageId)
method CopyMessageArgs (line 33) | public CopyMessageArgs(long chatId, string fromChatId, int messageId)
method CopyMessageArgs (line 46) | public CopyMessageArgs(string chatId, long fromChatId, int messageId)
method CopyMessageArgs (line 59) | public CopyMessageArgs(string chatId, string fromChatId, int messageId)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/CopyMessagesArgs.cs
class CopyMessagesArgs (line 10) | public class CopyMessagesArgs
method CopyMessagesArgs (line 18) | public CopyMessagesArgs(long chatId, long fromChatId, IEnumerable<int>...
method CopyMessagesArgs (line 31) | public CopyMessagesArgs(long chatId, string fromChatId, IEnumerable<in...
method CopyMessagesArgs (line 44) | public CopyMessagesArgs(string chatId, long fromChatId, IEnumerable<in...
method CopyMessagesArgs (line 57) | public CopyMessagesArgs(string chatId, string fromChatId, IEnumerable<...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/CreateChatInviteLinkArgs.cs
class CreateChatInviteLinkArgs (line 10) | public class CreateChatInviteLinkArgs
method CreateChatInviteLinkArgs (line 16) | public CreateChatInviteLinkArgs(long chatId)
method CreateChatInviteLinkArgs (line 25) | public CreateChatInviteLinkArgs(string chatId)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/DeleteBusinessMessagesArgs.cs
class DeleteBusinessMessagesArgs (line 10) | public class DeleteBusinessMessagesArgs
method DeleteBusinessMessagesArgs (line 17) | public DeleteBusinessMessagesArgs(string businessConnectionId, IEnumer...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/DeleteMyCommandsArgs.cs
class DeleteMyCommandsArgs (line 12) | public class DeleteMyCommandsArgs
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/EditChatInviteLinkArgs.cs
class EditChatInviteLinkArgs (line 10) | public class EditChatInviteLinkArgs
method EditChatInviteLinkArgs (line 17) | public EditChatInviteLinkArgs(long chatId, string inviteLink)
method EditChatInviteLinkArgs (line 28) | public EditChatInviteLinkArgs(string chatId, string inviteLink)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/EditStoryArgs.cs
class EditStoryArgs (line 12) | public class EditStoryArgs : AttachedFilesArgsBase
method EditStoryArgs (line 20) | public EditStoryArgs(string businessConnectionId, int storyId, InputSt...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/ForwardMessageArgs.cs
class ForwardMessageArgs (line 12) | public class ForwardMessageArgs
method ForwardMessageArgs (line 20) | public ForwardMessageArgs(long chatId, long fromChatId, int messageId)
method ForwardMessageArgs (line 33) | public ForwardMessageArgs(long chatId, string fromChatId, int messageId)
method ForwardMessageArgs (line 46) | public ForwardMessageArgs(string chatId, long fromChatId, int messageId)
method ForwardMessageArgs (line 59) | public ForwardMessageArgs(string chatId, string fromChatId, int messag...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/ForwardMessagesArgs.cs
class ForwardMessagesArgs (line 10) | public class ForwardMessagesArgs
method ForwardMessagesArgs (line 18) | public ForwardMessagesArgs(long chatId, long fromChatId, IEnumerable<i...
method ForwardMessagesArgs (line 31) | public ForwardMessagesArgs(long chatId, string fromChatId, IEnumerable...
method ForwardMessagesArgs (line 44) | public ForwardMessagesArgs(string chatId, long fromChatId, IEnumerable...
method ForwardMessagesArgs (line 57) | public ForwardMessagesArgs(string chatId, string fromChatId, IEnumerab...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/GetBusinessAccountGiftsArgs.cs
class GetBusinessAccountGiftsArgs (line 10) | public class GetBusinessAccountGiftsArgs
method GetBusinessAccountGiftsArgs (line 16) | public GetBusinessAccountGiftsArgs(string businessConnectionId)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/GetChatGiftsArgs.cs
class GetChatGiftsArgs (line 10) | public class GetChatGiftsArgs
method GetChatGiftsArgs (line 16) | public GetChatGiftsArgs(long chatId)
method GetChatGiftsArgs (line 25) | public GetChatGiftsArgs(string chatId)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/GetMyCommandsArgs.cs
class GetMyCommandsArgs (line 12) | public class GetMyCommandsArgs
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/GetUserGiftsArgs.cs
class GetUserGiftsArgs (line 10) | public class GetUserGiftsArgs
method GetUserGiftsArgs (line 16) | public GetUserGiftsArgs(long userId)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/GiftPremiumSubscriptionArgs.cs
class GiftPremiumSubscriptionArgs (line 12) | public class GiftPremiumSubscriptionArgs
method GiftPremiumSubscriptionArgs (line 20) | public GiftPremiumSubscriptionArgs(long userId, int monthCount, int st...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/PostStoryArgs.cs
class PostStoryArgs (line 12) | public class PostStoryArgs : AttachedFilesArgsBase
method PostStoryArgs (line 20) | public PostStoryArgs(string businessConnectionId, InputStoryContent co...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/PromoteChatMemberArgs.cs
class PromoteChatMemberArgs (line 10) | public class PromoteChatMemberArgs
method PromoteChatMemberArgs (line 17) | public PromoteChatMemberArgs(long chatId, long userId)
method PromoteChatMemberArgs (line 28) | public PromoteChatMemberArgs(string chatId, long userId)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/RepostStoryArgs.cs
class RepostStoryArgs (line 10) | public class RepostStoryArgs
method RepostStoryArgs (line 19) | public RepostStoryArgs(
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/RestrictChatMemberArgs.cs
class RestrictChatMemberArgs (line 12) | public class RestrictChatMemberArgs
method RestrictChatMemberArgs (line 20) | public RestrictChatMemberArgs(long chatId, long userId, ChatPermission...
method RestrictChatMemberArgs (line 33) | public RestrictChatMemberArgs(string chatId, long userId, ChatPermissi...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SavePreparedInlineMessageArgs.cs
class SavePreparedInlineMessageArgs (line 12) | public class SavePreparedInlineMessageArgs
method SavePreparedInlineMessageArgs (line 19) | public SavePreparedInlineMessageArgs(long userId, InlineQueryResult re...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SavePreparedKeyboardButtonArgs.cs
class SavePreparedKeyboardButtonArgs (line 12) | public class SavePreparedKeyboardButtonArgs
method SavePreparedKeyboardButtonArgs (line 19) | public SavePreparedKeyboardButtonArgs(long userId, KeyboardButton button)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendAnimationArgs.cs
class SendAnimationArgs (line 12) | public class SendAnimationArgs : AttachedFilesArgsBase
method SendAnimationArgs (line 19) | public SendAnimationArgs(long chatId, InputFile animation)
method SendAnimationArgs (line 30) | public SendAnimationArgs(long chatId, string animation)
method SendAnimationArgs (line 41) | public SendAnimationArgs(string chatId, InputFile animation)
method SendAnimationArgs (line 52) | public SendAnimationArgs(string chatId, string animation)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendAudioArgs.cs
class SendAudioArgs (line 12) | public class SendAudioArgs : AttachedFilesArgsBase
method SendAudioArgs (line 19) | public SendAudioArgs(long chatId, InputFile audio)
method SendAudioArgs (line 30) | public SendAudioArgs(long chatId, string audio)
method SendAudioArgs (line 41) | public SendAudioArgs(string chatId, InputFile audio)
method SendAudioArgs (line 52) | public SendAudioArgs(string chatId, string audio)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendChecklistArgs.cs
class SendChecklistArgs (line 12) | public class SendChecklistArgs
method SendChecklistArgs (line 20) | public SendChecklistArgs(string businessConnectionId, long chatId, Inp...
method SendChecklistArgs (line 34) | public SendChecklistArgs(string businessConnectionId, string chatId, I...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendContactArgs.cs
class SendContactArgs (line 12) | public class SendContactArgs
method SendContactArgs (line 20) | public SendContactArgs(long chatId, string phoneNumber, string firstName)
method SendContactArgs (line 33) | public SendContactArgs(string chatId, string phoneNumber, string first...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendDiceArgs.cs
class SendDiceArgs (line 12) | public class SendDiceArgs
method SendDiceArgs (line 18) | public SendDiceArgs(long chatId)
method SendDiceArgs (line 27) | public SendDiceArgs(string chatId)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendDocumentArgs.cs
class SendDocumentArgs (line 12) | public class SendDocumentArgs : AttachedFilesArgsBase
method SendDocumentArgs (line 19) | public SendDocumentArgs(long chatId, InputFile document)
method SendDocumentArgs (line 30) | public SendDocumentArgs(long chatId, string document)
method SendDocumentArgs (line 41) | public SendDocumentArgs(string chatId, InputFile document)
method SendDocumentArgs (line 52) | public SendDocumentArgs(string chatId, string document)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendGiftArgs.cs
class SendGiftArgs (line 12) | public class SendGiftArgs
method SendGiftArgs (line 18) | public SendGiftArgs(string giftId)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendLivePhotoArgs.cs
class SendLivePhotoArgs (line 12) | public class SendLivePhotoArgs : AttachedFilesArgsBase
method SendLivePhotoArgs (line 20) | public SendLivePhotoArgs(long chatId, InputFile livePhoto, InputFile p...
method SendLivePhotoArgs (line 33) | public SendLivePhotoArgs(long chatId, InputFile livePhoto, string photo)
method SendLivePhotoArgs (line 46) | public SendLivePhotoArgs(long chatId, string livePhoto, InputFile photo)
method SendLivePhotoArgs (line 59) | public SendLivePhotoArgs(long chatId, string livePhoto, string photo)
method SendLivePhotoArgs (line 72) | public SendLivePhotoArgs(string chatId, InputFile livePhoto, InputFile...
method SendLivePhotoArgs (line 85) | public SendLivePhotoArgs(string chatId, InputFile livePhoto, string ph...
method SendLivePhotoArgs (line 98) | public SendLivePhotoArgs(string chatId, string livePhoto, InputFile ph...
method SendLivePhotoArgs (line 111) | public SendLivePhotoArgs(string chatId, string livePhoto, string photo)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendLocationArgs.cs
class SendLocationArgs (line 12) | public class SendLocationArgs
method SendLocationArgs (line 20) | public SendLocationArgs(long chatId, float latitude, float longitude)
method SendLocationArgs (line 33) | public SendLocationArgs(string chatId, float latitude, float longitude)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendMediaGroupArgs.cs
class SendMediaGroupArgs (line 12) | public class SendMediaGroupArgs : AttachedFilesArgsBase
method SendMediaGroupArgs (line 19) | public SendMediaGroupArgs(long chatId, IEnumerable<InputMediaAudio> me...
method SendMediaGroupArgs (line 30) | public SendMediaGroupArgs(long chatId, IEnumerable<InputMediaDocument>...
method SendMediaGroupArgs (line 41) | public SendMediaGroupArgs(long chatId, IEnumerable<InputMediaLivePhoto...
method SendMediaGroupArgs (line 52) | public SendMediaGroupArgs(long chatId, IEnumerable<InputMediaPhoto> me...
method SendMediaGroupArgs (line 63) | public SendMediaGroupArgs(long chatId, IEnumerable<InputMediaVideo> me...
method SendMediaGroupArgs (line 74) | public SendMediaGroupArgs(string chatId, IEnumerable<InputMediaAudio> ...
method SendMediaGroupArgs (line 85) | public SendMediaGroupArgs(string chatId, IEnumerable<InputMediaDocumen...
method SendMediaGroupArgs (line 96) | public SendMediaGroupArgs(string chatId, IEnumerable<InputMediaLivePho...
method SendMediaGroupArgs (line 107) | public SendMediaGroupArgs(string chatId, IEnumerable<InputMediaPhoto> ...
method SendMediaGroupArgs (line 118) | public SendMediaGroupArgs(string chatId, IEnumerable<InputMediaVideo> ...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendMessageArgs.cs
class SendMessageArgs (line 12) | public class SendMessageArgs
method SendMessageArgs (line 19) | public SendMessageArgs(long chatId, string text)
method SendMessageArgs (line 30) | public SendMessageArgs(string chatId, string text)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendMessageDraftArgs.cs
class SendMessageDraftArgs (line 12) | public class SendMessageDraftArgs
method SendMessageDraftArgs (line 19) | public SendMessageDraftArgs(long chatId, int draftId)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendPaidMediaArgs.cs
class SendPaidMediaArgs (line 12) | public class SendPaidMediaArgs : AttachedFilesArgsBase
method SendPaidMediaArgs (line 20) | public SendPaidMediaArgs(long chatId, int starCount, IEnumerable<Input...
method SendPaidMediaArgs (line 33) | public SendPaidMediaArgs(string chatId, int starCount, IEnumerable<Inp...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendPhotoArgs.cs
class SendPhotoArgs (line 12) | public class SendPhotoArgs : AttachedFilesArgsBase
method SendPhotoArgs (line 19) | public SendPhotoArgs(long chatId, InputFile photo)
method SendPhotoArgs (line 30) | public SendPhotoArgs(long chatId, string photo)
method SendPhotoArgs (line 41) | public SendPhotoArgs(string chatId, InputFile photo)
method SendPhotoArgs (line 52) | public SendPhotoArgs(string chatId, string photo)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendPollArgs.cs
class SendPollArgs (line 13) | public class SendPollArgs
method SendPollArgs (line 21) | public SendPollArgs(long chatId, string question, IEnumerable<InputPol...
method SendPollArgs (line 34) | public SendPollArgs(string chatId, string question, IEnumerable<InputP...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendVenueArgs.cs
class SendVenueArgs (line 12) | public class SendVenueArgs
method SendVenueArgs (line 22) | public SendVenueArgs(long chatId, float latitude, float longitude, str...
method SendVenueArgs (line 39) | public SendVenueArgs(
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendVideoArgs.cs
class SendVideoArgs (line 12) | public class SendVideoArgs : AttachedFilesArgsBase
method SendVideoArgs (line 19) | public SendVideoArgs(long chatId, InputFile video)
method SendVideoArgs (line 30) | public SendVideoArgs(long chatId, string video)
method SendVideoArgs (line 41) | public SendVideoArgs(string chatId, InputFile video)
method SendVideoArgs (line 52) | public SendVideoArgs(string chatId, string video)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendVideoNoteArgs.cs
class SendVideoNoteArgs (line 12) | public class SendVideoNoteArgs : AttachedFilesArgsBase
method SendVideoNoteArgs (line 19) | public SendVideoNoteArgs(long chatId, InputFile videoNote)
method SendVideoNoteArgs (line 30) | public SendVideoNoteArgs(long chatId, string videoNote)
method SendVideoNoteArgs (line 41) | public SendVideoNoteArgs(string chatId, InputFile videoNote)
method SendVideoNoteArgs (line 52) | public SendVideoNoteArgs(string chatId, string videoNote)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SendVoiceArgs.cs
class SendVoiceArgs (line 12) | public class SendVoiceArgs : AttachedFilesArgsBase
method SendVoiceArgs (line 19) | public SendVoiceArgs(long chatId, InputFile voice)
method SendVoiceArgs (line 30) | public SendVoiceArgs(long chatId, string voice)
method SendVoiceArgs (line 41) | public SendVoiceArgs(string chatId, InputFile voice)
method SendVoiceArgs (line 52) | public SendVoiceArgs(string chatId, string voice)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SetBusinessAccountGiftSettingsArgs.cs
class SetBusinessAccountGiftSettingsArgs (line 12) | public class SetBusinessAccountGiftSettingsArgs
method SetBusinessAccountGiftSettingsArgs (line 20) | public SetBusinessAccountGiftSettingsArgs(
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SetBusinessAccountProfilePhotoArgs.cs
class SetBusinessAccountProfilePhotoArgs (line 12) | public class SetBusinessAccountProfilePhotoArgs : AttachedFilesArgsBase
method SetBusinessAccountProfilePhotoArgs (line 19) | public SetBusinessAccountProfilePhotoArgs(string businessConnectionId,...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SetChatMenuButtonArgs.cs
class SetChatMenuButtonArgs (line 12) | public class SetChatMenuButtonArgs
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SetChatPermissionsArgs.cs
class SetChatPermissionsArgs (line 12) | public class SetChatPermissionsArgs
method SetChatPermissionsArgs (line 19) | public SetChatPermissionsArgs(long chatId, ChatPermissions permissions)
method SetChatPermissionsArgs (line 30) | public SetChatPermissionsArgs(string chatId, ChatPermissions permissions)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SetChatPhotoArgs.cs
class SetChatPhotoArgs (line 12) | public class SetChatPhotoArgs : AttachedFilesArgsBase
method SetChatPhotoArgs (line 19) | public SetChatPhotoArgs(long chatId, InputFile photo)
method SetChatPhotoArgs (line 30) | public SetChatPhotoArgs(string chatId, InputFile photo)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SetManagedBotAccessSettingsArgs.cs
class SetManagedBotAccessSettingsArgs (line 10) | public class SetManagedBotAccessSettingsArgs
method SetManagedBotAccessSettingsArgs (line 17) | public SetManagedBotAccessSettingsArgs(long userId, bool isAccessRestr...
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SetMessageReactionArgs.cs
class SetMessageReactionArgs (line 12) | public class SetMessageReactionArgs
method SetMessageReactionArgs (line 19) | public SetMessageReactionArgs(long chatId, int messageId)
method SetMessageReactionArgs (line 30) | public SetMessageReactionArgs(string chatId, int messageId)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SetMyCommandsArgs.cs
class SetMyCommandsArgs (line 12) | public class SetMyCommandsArgs
method SetMyCommandsArgs (line 18) | public SetMyCommandsArgs(IEnumerable<BotCommand> commands)
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SetMyDefaultAdministratorRightsArgs.cs
class SetMyDefaultAdministratorRightsArgs (line 12) | public class SetMyDefaultAdministratorRightsArgs
FILE: src/library/Telegram.BotAPI/AvailableMethods/Args/SetMyProfilePhotoArgs.cs
class SetMyProfilePhotoArgs (line 12) | public class SetMyProfilePhotoArgs : AttachedFilesArgsBase
method SetMyProfilePhotoArgs (line 18) | public SetMyProfilePhotoArgs(InputProfilePhoto photo)
FILE: src/library/Telegram.BotAPI/AvailableMethods/answerCallbackQuery.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method AnswerCallbackQuery (line 22) | public static bool AnswerCallbackQuery(
method AnswerCallbackQueryAsync (line 36) | public static Task<bool> AnswerCallbackQueryAsync(
method AnswerCallbackQuery (line 66) | public static bool AnswerCallbackQuery(
method AnswerCallbackQueryAsync (line 92) | public static Task<bool> AnswerCallbackQueryAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/answerGuestQuery.cs
class AvailableMethodsExtensions (line 13) | public static partial class AvailableMethodsExtensions
method AnswerGuestQuery (line 23) | public static SentGuestMessage AnswerGuestQuery(
method AnswerGuestQueryAsync (line 37) | public static Task<SentGuestMessage> AnswerGuestQueryAsync(
method AnswerGuestQuery (line 64) | public static SentGuestMessage AnswerGuestQuery(
method AnswerGuestQueryAsync (line 80) | public static Task<SentGuestMessage> AnswerGuestQueryAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/answerWebAppQuery.cs
class AvailableMethodsExtensions (line 13) | public static partial class AvailableMethodsExtensions
method AnswerWebAppQuery (line 23) | public static SentWebAppMessage AnswerWebAppQuery(
method AnswerWebAppQueryAsync (line 37) | public static Task<SentWebAppMessage> AnswerWebAppQueryAsync(
method AnswerWebAppQuery (line 64) | public static SentWebAppMessage AnswerWebAppQuery(
method AnswerWebAppQueryAsync (line 80) | public static Task<SentWebAppMessage> AnswerWebAppQueryAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/approveChatJoinRequest.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method ApproveChatJoinRequest (line 21) | public static bool ApproveChatJoinRequest(
method ApproveChatJoinRequestAsync (line 37) | public static Task<bool> ApproveChatJoinRequestAsync(
method ApproveChatJoinRequest (line 71) | public static bool ApproveChatJoinRequest(
method ApproveChatJoinRequestAsync (line 87) | public static Task<bool> ApproveChatJoinRequestAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/banChatMember.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method BanChatMember (line 23) | public static bool BanChatMember(
method BanChatMemberAsync (line 47) | public static Task<bool> BanChatMemberAsync(
method BanChatMember (line 89) | public static bool BanChatMember(
method BanChatMemberAsync (line 113) | public static Task<bool> BanChatMemberAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/banChatSenderChat.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method BanChatSenderChat (line 21) | public static bool BanChatSenderChat(
method BanChatSenderChatAsync (line 37) | public static Task<bool> BanChatSenderChatAsync(
method BanChatSenderChat (line 67) | public static bool BanChatSenderChat(
method BanChatSenderChatAsync (line 83) | public static Task<bool> BanChatSenderChatAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/close.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method Close (line 19) | public static bool Close(this ITelegramBotClient client) =>
method CloseAsync (line 30) | public static Task<bool> CloseAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/closeForumTopic.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method CloseForumTopic (line 21) | public static bool CloseForumTopic(
method CloseForumTopicAsync (line 37) | public static Task<bool> CloseForumTopicAsync(
method CloseForumTopic (line 67) | public static bool CloseForumTopic(
method CloseForumTopicAsync (line 83) | public static Task<bool> CloseForumTopicAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/closeGeneralForumTopic.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method CloseGeneralForumTopic (line 20) | public static bool CloseGeneralForumTopic(this ITelegramBotClient clie...
method CloseGeneralForumTopicAsync (line 32) | public static Task<bool> CloseGeneralForumTopicAsync(
method CloseGeneralForumTopic (line 60) | public static bool CloseGeneralForumTopic(this ITelegramBotClient clie...
method CloseGeneralForumTopicAsync (line 72) | public static Task<bool> CloseGeneralForumTopicAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/convertGiftToStars.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method ConvertGiftToStars (line 21) | public static bool ConvertGiftToStars(
method ConvertGiftToStarsAsync (line 37) | public static Task<bool> ConvertGiftToStarsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/copyMessage.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method CopyMessage (line 22) | public static MessageId CopyMessage(this ITelegramBotClient client, Co...
method CopyMessageAsync (line 34) | public static Task<MessageId> CopyMessageAsync(
method CopyMessage (line 72) | public static MessageId CopyMessage(
method CopyMessageAsync (line 140) | public static Task<MessageId> CopyMessageAsync(
method CopyMessage (line 257) | public static MessageId CopyMessage(
method CopyMessageAsync (line 325) | public static Task<MessageId> CopyMessageAsync(
method CopyMessage (line 445) | public static MessageId CopyMessage(
method CopyMessageAsync (line 513) | public static Task<MessageId> CopyMessageAsync(
method CopyMessage (line 630) | public static MessageId CopyMessage(
method CopyMessageAsync (line 698) | public static Task<MessageId> CopyMessageAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/copyMessages.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method CopyMessages (line 22) | public static IEnumerable<MessageId> CopyMessages(
method CopyMessagesAsync (line 36) | public static Task<IEnumerable<MessageId>> CopyMessagesAsync(
method CopyMessages (line 69) | public static IEnumerable<MessageId> CopyMessages(
method CopyMessagesAsync (line 110) | public static Task<IEnumerable<MessageId>> CopyMessagesAsync(
method CopyMessages (line 180) | public static IEnumerable<MessageId> CopyMessages(
method CopyMessagesAsync (line 221) | public static Task<IEnumerable<MessageId>> CopyMessagesAsync(
method CopyMessages (line 294) | public static IEnumerable<MessageId> CopyMessages(
method CopyMessagesAsync (line 335) | public static Task<IEnumerable<MessageId>> CopyMessagesAsync(
method CopyMessages (line 405) | public static IEnumerable<MessageId> CopyMessages(
method CopyMessagesAsync (line 446) | public static Task<IEnumerable<MessageId>> CopyMessagesAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/createChatInviteLink.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method CreateChatInviteLink (line 22) | public static ChatInviteLink CreateChatInviteLink(
method CreateChatInviteLinkAsync (line 36) | public static Task<ChatInviteLink> CreateChatInviteLinkAsync(
method CreateChatInviteLink (line 66) | public static ChatInviteLink CreateChatInviteLink(
method CreateChatInviteLinkAsync (line 92) | public static Task<ChatInviteLink> CreateChatInviteLinkAsync(
method CreateChatInviteLink (line 144) | public static ChatInviteLink CreateChatInviteLink(
method CreateChatInviteLinkAsync (line 170) | public static Task<ChatInviteLink> CreateChatInviteLinkAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/createChatSubscriptionInviteLink.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method CreateChatSubscriptionInviteLink (line 25) | public static ChatInviteLink CreateChatSubscriptionInviteLink(
method CreateChatSubscriptionInviteLinkAsync (line 54) | public static Task<ChatInviteLink> CreateChatSubscriptionInviteLinkAsync(
method CreateChatSubscriptionInviteLink (line 97) | public static ChatInviteLink CreateChatSubscriptionInviteLink(
method CreateChatSubscriptionInviteLinkAsync (line 126) | public static Task<ChatInviteLink> CreateChatSubscriptionInviteLinkAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/createForumTopic.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method CreateForumTopic (line 25) | public static ForumTopic CreateForumTopic(
method CreateForumTopicAsync (line 49) | public static Task<ForumTopic> CreateForumTopicAsync(
method CreateForumTopic (line 95) | public static ForumTopic CreateForumTopic(
method CreateForumTopicAsync (line 119) | public static Task<ForumTopic> CreateForumTopicAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/declineChatJoinRequest.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method DeclineChatJoinRequest (line 21) | public static bool DeclineChatJoinRequest(
method DeclineChatJoinRequestAsync (line 37) | public static Task<bool> DeclineChatJoinRequestAsync(
method DeclineChatJoinRequest (line 71) | public static bool DeclineChatJoinRequest(
method DeclineChatJoinRequestAsync (line 87) | public static Task<bool> DeclineChatJoinRequestAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/deleteBusinessMessages.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method DeleteBusinessMessages (line 20) | public static bool DeleteBusinessMessages(
method DeleteBusinessMessagesAsync (line 34) | public static Task<bool> DeleteBusinessMessagesAsync(
method DeleteBusinessMessages (line 61) | public static bool DeleteBusinessMessages(
method DeleteBusinessMessagesAsync (line 81) | public static Task<bool> DeleteBusinessMessagesAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/deleteChatPhoto.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method DeleteChatPhoto (line 20) | public static bool DeleteChatPhoto(this ITelegramBotClient client, lon...
method DeleteChatPhotoAsync (line 32) | public static Task<bool> DeleteChatPhotoAsync(
method DeleteChatPhoto (line 56) | public static bool DeleteChatPhoto(this ITelegramBotClient client, str...
method DeleteChatPhotoAsync (line 68) | public static Task<bool> DeleteChatPhotoAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/deleteChatStickerSet.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method DeleteChatStickerSet (line 20) | public static bool DeleteChatStickerSet(this ITelegramBotClient client...
method DeleteChatStickerSetAsync (line 32) | public static Task<bool> DeleteChatStickerSetAsync(
method DeleteChatStickerSet (line 60) | public static bool DeleteChatStickerSet(this ITelegramBotClient client...
method DeleteChatStickerSetAsync (line 72) | public static Task<bool> DeleteChatStickerSetAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/deleteForumTopic.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method DeleteForumTopic (line 21) | public static bool DeleteForumTopic(
method DeleteForumTopicAsync (line 37) | public static Task<bool> DeleteForumTopicAsync(
method DeleteForumTopic (line 67) | public static bool DeleteForumTopic(
method DeleteForumTopicAsync (line 83) | public static Task<bool> DeleteForumTopicAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/deleteMyCommands.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method DeleteMyCommands (line 22) | public static bool DeleteMyCommands(
method DeleteMyCommandsAsync (line 36) | public static Task<bool> DeleteMyCommandsAsync(
method DeleteMyCommands (line 59) | public static bool DeleteMyCommands(
method DeleteMyCommandsAsync (line 75) | public static Task<bool> DeleteMyCommandsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/deleteStory.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method DeleteStory (line 21) | public static bool DeleteStory(
method DeleteStoryAsync (line 37) | public static Task<bool> DeleteStoryAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/editChatInviteLink.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method EditChatInviteLink (line 22) | public static ChatInviteLink EditChatInviteLink(
method EditChatInviteLinkAsync (line 36) | public static Task<ChatInviteLink> EditChatInviteLinkAsync(
method EditChatInviteLink (line 67) | public static ChatInviteLink EditChatInviteLink(
method EditChatInviteLinkAsync (line 102) | public static Task<ChatInviteLink> EditChatInviteLinkAsync(
method EditChatInviteLink (line 163) | public static ChatInviteLink EditChatInviteLink(
method EditChatInviteLinkAsync (line 198) | public static Task<ChatInviteLink> EditChatInviteLinkAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/editChatSubscriptionInviteLink.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method EditChatSubscriptionInviteLink (line 24) | public static ChatInviteLink EditChatSubscriptionInviteLink(
method EditChatSubscriptionInviteLinkAsync (line 46) | public static Task<ChatInviteLink> EditChatSubscriptionInviteLinkAsync(
method EditChatSubscriptionInviteLink (line 89) | public static ChatInviteLink EditChatSubscriptionInviteLink(
method EditChatSubscriptionInviteLinkAsync (line 111) | public static Task<ChatInviteLink> EditChatSubscriptionInviteLinkAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/editForumTopic.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method EditForumTopic (line 23) | public static bool EditForumTopic(
method EditForumTopicAsync (line 47) | public static Task<bool> EditForumTopicAsync(
method EditForumTopic (line 89) | public static bool EditForumTopic(
method EditForumTopicAsync (line 113) | public static Task<bool> EditForumTopicAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/editGeneralForumTopic.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method EditGeneralForumTopic (line 21) | public static bool EditGeneralForumTopic(
method EditGeneralForumTopicAsync (line 37) | public static Task<bool> EditGeneralForumTopicAsync(
method EditGeneralForumTopic (line 71) | public static bool EditGeneralForumTopic(
method EditGeneralForumTopicAsync (line 87) | public static Task<bool> EditGeneralForumTopicAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/editStory.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method EditStory (line 22) | public static Story EditStory(this ITelegramBotClient client, EditStor...
method EditStoryAsync (line 34) | public static Task<Story> EditStoryAsync(
method EditStory (line 62) | public static Story EditStory(
method EditStoryAsync (line 100) | public static Task<Story> EditStoryAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/exportChatInviteLink.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method ExportChatInviteLink (line 20) | public static string ExportChatInviteLink(this ITelegramBotClient clie...
method ExportChatInviteLinkAsync (line 32) | public static Task<string> ExportChatInviteLinkAsync(
method ExportChatInviteLink (line 60) | public static string ExportChatInviteLink(this ITelegramBotClient clie...
method ExportChatInviteLinkAsync (line 72) | public static Task<string> ExportChatInviteLinkAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/forwardMessage.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method ForwardMessage (line 22) | public static Message ForwardMessage(this ITelegramBotClient client, F...
method ForwardMessageAsync (line 34) | public static Task<Message> ForwardMessageAsync(
method ForwardMessage (line 65) | public static Message ForwardMessage(
method ForwardMessageAsync (line 112) | public static Task<Message> ForwardMessageAsync(
method ForwardMessage (line 187) | public static Message ForwardMessage(
method ForwardMessageAsync (line 234) | public static Task<Message> ForwardMessageAsync(
method ForwardMessage (line 312) | public static Message ForwardMessage(
method ForwardMessageAsync (line 359) | public static Task<Message> ForwardMessageAsync(
method ForwardMessage (line 434) | public static Message ForwardMessage(
method ForwardMessageAsync (line 481) | public static Task<Message> ForwardMessageAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/forwardMessages.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method ForwardMessages (line 22) | public static IEnumerable<MessageId> ForwardMessages(
method ForwardMessagesAsync (line 36) | public static Task<IEnumerable<MessageId>> ForwardMessagesAsync(
method ForwardMessages (line 68) | public static IEnumerable<MessageId> ForwardMessages(
method ForwardMessagesAsync (line 106) | public static Task<IEnumerable<MessageId>> ForwardMessagesAsync(
method ForwardMessages (line 170) | public static IEnumerable<MessageId> ForwardMessages(
method ForwardMessagesAsync (line 208) | public static Task<IEnumerable<MessageId>> ForwardMessagesAsync(
method ForwardMessages (line 275) | public static IEnumerable<MessageId> ForwardMessages(
method ForwardMessagesAsync (line 313) | public static Task<IEnumerable<MessageId>> ForwardMessagesAsync(
method ForwardMessages (line 377) | public static IEnumerable<MessageId> ForwardMessages(
method ForwardMessagesAsync (line 415) | public static Task<IEnumerable<MessageId>> ForwardMessagesAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getAvailableGifts.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetAvailableGifts (line 21) | public static Gifts GetAvailableGifts(this ITelegramBotClient client) =>
method GetAvailableGiftsAsync (line 32) | public static Task<Gifts> GetAvailableGiftsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getBusinessAccountGifts.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetBusinessAccountGifts (line 22) | public static OwnedGifts GetBusinessAccountGifts(
method GetBusinessAccountGiftsAsync (line 36) | public static Task<OwnedGifts> GetBusinessAccountGiftsAsync(
method GetBusinessAccountGifts (line 72) | public static OwnedGifts GetBusinessAccountGifts(
method GetBusinessAccountGiftsAsync (line 122) | public static Task<OwnedGifts> GetBusinessAccountGiftsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getBusinessAccountStarBalance.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetBusinessAccountStarBalance (line 22) | public static StarAmount GetBusinessAccountStarBalance(
method GetBusinessAccountStarBalanceAsync (line 36) | public static Task<StarAmount> GetBusinessAccountStarBalanceAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getBusinessConnection.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetBusinessConnection (line 22) | public static BusinessConnection GetBusinessConnection(
method GetBusinessConnectionAsync (line 36) | public static Task<BusinessConnection> GetBusinessConnectionAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getChat.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetChat (line 22) | public static ChatFullInfo GetChat(this ITelegramBotClient client, lon...
method GetChatAsync (line 34) | public static Task<ChatFullInfo> GetChatAsync(
method GetChat (line 58) | public static ChatFullInfo GetChat(this ITelegramBotClient client, str...
method GetChatAsync (line 70) | public static Task<ChatFullInfo> GetChatAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getChatAdministrators.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetChatAdministrators (line 23) | public static IEnumerable<ChatMember> GetChatAdministrators(
method GetChatAdministratorsAsync (line 39) | public static Task<IEnumerable<ChatMember>> GetChatAdministratorsAsync(
method GetChatAdministrators (line 73) | public static IEnumerable<ChatMember> GetChatAdministrators(
method GetChatAdministratorsAsync (line 89) | public static Task<IEnumerable<ChatMember>> GetChatAdministratorsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getChatGifts.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetChatGifts (line 22) | public static OwnedGifts GetChatGifts(this ITelegramBotClient client, ...
method GetChatGiftsAsync (line 34) | public static Task<OwnedGifts> GetChatGiftsAsync(
method GetChatGifts (line 70) | public static OwnedGifts GetChatGifts(
method GetChatGiftsAsync (line 120) | public static Task<OwnedGifts> GetChatGiftsAsync(
method GetChatGifts (line 208) | public static OwnedGifts GetChatGifts(
method GetChatGiftsAsync (line 258) | public static Task<OwnedGifts> GetChatGiftsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getChatMember.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetChatMember (line 23) | public static ChatMember GetChatMember(
method GetChatMemberAsync (line 39) | public static Task<ChatMember> GetChatMemberAsync(
method GetChatMember (line 73) | public static ChatMember GetChatMember(
method GetChatMemberAsync (line 89) | public static Task<ChatMember> GetChatMemberAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getChatMemberCount.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method GetChatMemberCount (line 20) | public static int GetChatMemberCount(this ITelegramBotClient client, l...
method GetChatMemberCountAsync (line 32) | public static Task<int> GetChatMemberCountAsync(
method GetChatMemberCount (line 56) | public static int GetChatMemberCount(this ITelegramBotClient client, s...
method GetChatMemberCountAsync (line 68) | public static Task<int> GetChatMemberCountAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getChatMenuButton.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetChatMenuButton (line 22) | public static MenuButton GetChatMenuButton(
method GetChatMenuButtonAsync (line 36) | public static Task<MenuButton> GetChatMenuButtonAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getFile.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetFile (line 22) | public static File GetFile(this ITelegramBotClient client, string file...
method GetFileAsync (line 34) | public static Task<File> GetFileAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getForumTopicIconStickers.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetForumTopicIconStickers (line 21) | public static IEnumerable<Sticker> GetForumTopicIconStickers(this ITel...
method GetForumTopicIconStickersAsync (line 32) | public static Task<IEnumerable<Sticker>> GetForumTopicIconStickersAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getManagedBotAccessSettings.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetManagedBotAccessSettings (line 22) | public static BotAccessSettings GetManagedBotAccessSettings(
method GetManagedBotAccessSettingsAsync (line 36) | public static Task<BotAccessSettings> GetManagedBotAccessSettingsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getManagedBotToken.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method GetManagedBotToken (line 20) | public static string GetManagedBotToken(this ITelegramBotClient client...
method GetManagedBotTokenAsync (line 32) | public static Task<string> GetManagedBotTokenAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getMe.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetMe (line 21) | public static User GetMe(this ITelegramBotClient client) =>
method GetMeAsync (line 32) | public static Task<User> GetMeAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getMyCommands.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetMyCommands (line 22) | public static IEnumerable<BotCommand> GetMyCommands(
method GetMyCommandsAsync (line 36) | public static Task<IEnumerable<BotCommand>> GetMyCommandsAsync(
method GetMyCommands (line 63) | public static IEnumerable<BotCommand> GetMyCommands(
method GetMyCommandsAsync (line 79) | public static Task<IEnumerable<BotCommand>> GetMyCommandsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getMyDefaultAdministratorRights.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetMyDefaultAdministratorRights (line 22) | public static ChatAdministratorRights GetMyDefaultAdministratorRights(
method GetMyDefaultAdministratorRightsAsync (line 36) | public static Task<ChatAdministratorRights> GetMyDefaultAdministratorR...
FILE: src/library/Telegram.BotAPI/AvailableMethods/getMyDescription.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetMyDescription (line 22) | public static BotDescription GetMyDescription(
method GetMyDescriptionAsync (line 36) | public static Task<BotDescription> GetMyDescriptionAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getMyName.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetMyName (line 22) | public static BotName GetMyName(this ITelegramBotClient client, string...
method GetMyNameAsync (line 34) | public static Task<BotName> GetMyNameAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getMyShortDescription.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetMyShortDescription (line 22) | public static BotShortDescription GetMyShortDescription(
method GetMyShortDescriptionAsync (line 36) | public static Task<BotShortDescription> GetMyShortDescriptionAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getUserChatBoosts.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetUserChatBoosts (line 23) | public static UserChatBoosts GetUserChatBoosts(
method GetUserChatBoostsAsync (line 39) | public static Task<UserChatBoosts> GetUserChatBoostsAsync(
method GetUserChatBoosts (line 73) | public static UserChatBoosts GetUserChatBoosts(
method GetUserChatBoostsAsync (line 89) | public static Task<UserChatBoosts> GetUserChatBoostsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getUserGifts.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetUserGifts (line 22) | public static OwnedGifts GetUserGifts(this ITelegramBotClient client, ...
method GetUserGiftsAsync (line 34) | public static Task<OwnedGifts> GetUserGiftsAsync(
method GetUserGifts (line 68) | public static OwnedGifts GetUserGifts(
method GetUserGiftsAsync (line 112) | public static Task<OwnedGifts> GetUserGiftsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getUserPersonalChatMessages.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetUserPersonalChatMessages (line 23) | public static IEnumerable<Message> GetUserPersonalChatMessages(
method GetUserPersonalChatMessagesAsync (line 39) | public static Task<IEnumerable<Message>> GetUserPersonalChatMessagesAs...
FILE: src/library/Telegram.BotAPI/AvailableMethods/getUserProfileAudios.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetUserProfileAudios (line 24) | public static UserProfileAudios GetUserProfileAudios(
method GetUserProfileAudiosAsync (line 42) | public static Task<UserProfileAudios> GetUserProfileAudiosAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/getUserProfilePhotos.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GetUserProfilePhotos (line 24) | public static UserProfilePhotos GetUserProfilePhotos(
method GetUserProfilePhotosAsync (line 42) | public static Task<UserProfilePhotos> GetUserProfilePhotosAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/giftPremiumSubscription.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method GiftPremiumSubscription (line 22) | public static bool GiftPremiumSubscription(
method GiftPremiumSubscriptionAsync (line 36) | public static Task<bool> GiftPremiumSubscriptionAsync(
method GiftPremiumSubscription (line 67) | public static bool GiftPremiumSubscription(
method GiftPremiumSubscriptionAsync (line 102) | public static Task<bool> GiftPremiumSubscriptionAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/hideGeneralForumTopic.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method HideGeneralForumTopic (line 20) | public static bool HideGeneralForumTopic(this ITelegramBotClient clien...
method HideGeneralForumTopicAsync (line 32) | public static Task<bool> HideGeneralForumTopicAsync(
method HideGeneralForumTopic (line 60) | public static bool HideGeneralForumTopic(this ITelegramBotClient clien...
method HideGeneralForumTopicAsync (line 72) | public static Task<bool> HideGeneralForumTopicAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/leaveChat.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method LeaveChat (line 20) | public static bool LeaveChat(this ITelegramBotClient client, long chat...
method LeaveChatAsync (line 32) | public static Task<bool> LeaveChatAsync(
method LeaveChat (line 56) | public static bool LeaveChat(this ITelegramBotClient client, string ch...
method LeaveChatAsync (line 68) | public static Task<bool> LeaveChatAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/logOut.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method LogOut (line 19) | public static bool LogOut(this ITelegramBotClient client) =>
method LogOutAsync (line 30) | public static Task<bool> LogOutAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/pinChatMessage.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method PinChatMessage (line 23) | public static bool PinChatMessage(
method PinChatMessageAsync (line 47) | public static Task<bool> PinChatMessageAsync(
method PinChatMessage (line 89) | public static bool PinChatMessage(
method PinChatMessageAsync (line 113) | public static Task<bool> PinChatMessageAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/postStory.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method PostStory (line 22) | public static Story PostStory(this ITelegramBotClient client, PostStor...
method PostStoryAsync (line 34) | public static Task<Story> PostStoryAsync(
method PostStory (line 64) | public static Story PostStory(
method PostStoryAsync (line 108) | public static Task<Story> PostStoryAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/promoteChatMember.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method PromoteChatMember (line 20) | public static bool PromoteChatMember(
method PromoteChatMemberAsync (line 34) | public static Task<bool> PromoteChatMemberAsync(
method PromoteChatMember (line 74) | public static bool PromoteChatMember(
method PromoteChatMemberAsync (line 148) | public static Task<bool> PromoteChatMemberAsync(
method PromoteChatMember (line 280) | public static bool PromoteChatMember(
method PromoteChatMemberAsync (line 354) | public static Task<bool> PromoteChatMemberAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/readBusinessMessage.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method ReadBusinessMessage (line 22) | public static bool ReadBusinessMessage(
method ReadBusinessMessageAsync (line 44) | public static Task<bool> ReadBusinessMessageAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/removeBusinessAccountProfilePhoto.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method RemoveBusinessAccountProfilePhoto (line 21) | public static bool RemoveBusinessAccountProfilePhoto(
method RemoveBusinessAccountProfilePhotoAsync (line 41) | public static Task<bool> RemoveBusinessAccountProfilePhotoAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/removeChatVerification.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method RemoveChatVerification (line 20) | public static bool RemoveChatVerification(this ITelegramBotClient clie...
method RemoveChatVerificationAsync (line 32) | public static Task<bool> RemoveChatVerificationAsync(
method RemoveChatVerification (line 60) | public static bool RemoveChatVerification(this ITelegramBotClient clie...
method RemoveChatVerificationAsync (line 72) | public static Task<bool> RemoveChatVerificationAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/removeMyProfilePhoto.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method RemoveMyProfilePhoto (line 19) | public static bool RemoveMyProfilePhoto(this ITelegramBotClient client...
method RemoveMyProfilePhotoAsync (line 30) | public static Task<bool> RemoveMyProfilePhotoAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/removeUserVerification.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method RemoveUserVerification (line 20) | public static bool RemoveUserVerification(this ITelegramBotClient clie...
method RemoveUserVerificationAsync (line 32) | public static Task<bool> RemoveUserVerificationAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/reopenForumTopic.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method ReopenForumTopic (line 21) | public static bool ReopenForumTopic(
method ReopenForumTopicAsync (line 37) | public static Task<bool> ReopenForumTopicAsync(
method ReopenForumTopic (line 67) | public static bool ReopenForumTopic(
method ReopenForumTopicAsync (line 83) | public static Task<bool> ReopenForumTopicAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/reopenGeneralForumTopic.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method ReopenGeneralForumTopic (line 20) | public static bool ReopenGeneralForumTopic(this ITelegramBotClient cli...
method ReopenGeneralForumTopicAsync (line 32) | public static Task<bool> ReopenGeneralForumTopicAsync(
method ReopenGeneralForumTopic (line 60) | public static bool ReopenGeneralForumTopic(this ITelegramBotClient cli...
method ReopenGeneralForumTopicAsync (line 72) | public static Task<bool> ReopenGeneralForumTopicAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/replaceManagedBotToken.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method ReplaceManagedBotToken (line 20) | public static string ReplaceManagedBotToken(this ITelegramBotClient cl...
method ReplaceManagedBotTokenAsync (line 32) | public static Task<string> ReplaceManagedBotTokenAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/repostStory.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method RepostStory (line 22) | public static Story RepostStory(this ITelegramBotClient client, Repost...
method RepostStoryAsync (line 34) | public static Task<Story> RepostStoryAsync(
method RepostStory (line 61) | public static Story RepostStory(
method RepostStoryAsync (line 96) | public static Task<Story> RepostStoryAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/restrictChatMember.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method RestrictChatMember (line 22) | public static bool RestrictChatMember(
method RestrictChatMemberAsync (line 36) | public static Task<bool> RestrictChatMemberAsync(
method RestrictChatMember (line 66) | public static bool RestrictChatMember(
method RestrictChatMemberAsync (line 98) | public static Task<bool> RestrictChatMemberAsync(
method RestrictChatMember (line 150) | public static bool RestrictChatMember(
method RestrictChatMemberAsync (line 182) | public static Task<bool> RestrictChatMemberAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/revokeChatInviteLink.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method RevokeChatInviteLink (line 23) | public static ChatInviteLink RevokeChatInviteLink(
method RevokeChatInviteLinkAsync (line 39) | public static Task<ChatInviteLink> RevokeChatInviteLinkAsync(
method RevokeChatInviteLink (line 76) | public static ChatInviteLink RevokeChatInviteLink(
method RevokeChatInviteLinkAsync (line 92) | public static Task<ChatInviteLink> RevokeChatInviteLinkAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/savePreparedInlineMessage.cs
class AvailableMethodsExtensions (line 13) | public static partial class AvailableMethodsExtensions
method SavePreparedInlineMessage (line 23) | public static PreparedInlineMessage SavePreparedInlineMessage(
method SavePreparedInlineMessageAsync (line 37) | public static Task<PreparedInlineMessage> SavePreparedInlineMessageAsync(
method SavePreparedInlineMessage (line 68) | public static PreparedInlineMessage SavePreparedInlineMessage(
method SavePreparedInlineMessageAsync (line 103) | public static Task<PreparedInlineMessage> SavePreparedInlineMessageAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/savePreparedKeyboardButton.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SavePreparedKeyboardButton (line 22) | public static PreparedKeyboardButton SavePreparedKeyboardButton(
method SavePreparedKeyboardButtonAsync (line 36) | public static Task<PreparedKeyboardButton> SavePreparedKeyboardButtonA...
method SavePreparedKeyboardButton (line 63) | public static PreparedKeyboardButton SavePreparedKeyboardButton(
method SavePreparedKeyboardButtonAsync (line 79) | public static Task<PreparedKeyboardButton> SavePreparedKeyboardButtonA...
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendAnimation.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendAnimation (line 22) | public static Message SendAnimation(this ITelegramBotClient client, Se...
method SendAnimationAsync (line 34) | public static Task<Message> SendAnimationAsync(
method SendAnimation (line 76) | public static Message SendAnimation(
method SendAnimationAsync (line 156) | public static Task<Message> SendAnimationAsync(
method SendAnimation (line 304) | public static Message SendAnimation(
method SendAnimationAsync (line 387) | public static Task<Message> SendAnimationAsync(
method SendAnimation (line 542) | public static Message SendAnimation(
method SendAnimationAsync (line 622) | public static Task<Message> SendAnimationAsync(
method SendAnimation (line 770) | public static Message SendAnimation(
method SendAnimationAsync (line 853) | public static Task<Message> SendAnimationAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendAudio.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendAudio (line 23) | public static Message SendAudio(this ITelegramBotClient client, SendAu...
method SendAudioAsync (line 36) | public static Task<Message> SendAudioAsync(
method SendAudio (line 77) | public static Message SendAudio(
method SendAudioAsync (line 152) | public static Task<Message> SendAudioAsync(
method SendAudio (line 286) | public static Message SendAudio(
method SendAudioAsync (line 364) | public static Task<Message> SendAudioAsync(
method SendAudio (line 505) | public static Message SendAudio(
method SendAudioAsync (line 580) | public static Task<Message> SendAudioAsync(
method SendAudio (line 714) | public static Message SendAudio(
method SendAudioAsync (line 792) | public static Task<Message> SendAudioAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendChatAction.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method SendChatAction (line 24) | public static bool SendChatAction(
method SendChatActionAsync (line 49) | public static Task<bool> SendChatActionAsync(
method SendChatAction (line 92) | public static bool SendChatAction(
method SendChatActionAsync (line 117) | public static Task<bool> SendChatActionAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendChecklist.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendChecklist (line 22) | public static Message SendChecklist(this ITelegramBotClient client, Se...
method SendChecklistAsync (line 34) | public static Task<Message> SendChecklistAsync(
method SendChecklist (line 63) | public static Message SendChecklist(
method SendChecklistAsync (line 104) | public static Task<Message> SendChecklistAsync(
method SendChecklist (line 174) | public static Message SendChecklist(
method SendChecklistAsync (line 215) | public static Task<Message> SendChecklistAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendContact.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendContact (line 22) | public static Message SendContact(this ITelegramBotClient client, Send...
method SendContactAsync (line 34) | public static Task<Message> SendContactAsync(
method SendContact (line 70) | public static Message SendContact(
method SendContactAsync (line 132) | public static Task<Message> SendContactAsync(
method SendContact (line 243) | public static Message SendContact(
method SendContactAsync (line 305) | public static Task<Message> SendContactAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendDice.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendDice (line 22) | public static Message SendDice(this ITelegramBotClient client, SendDic...
method SendDiceAsync (line 34) | public static Task<Message> SendDiceAsync(
method SendDice (line 67) | public static Message SendDice(
method SendDiceAsync (line 120) | public static Task<Message> SendDiceAsync(
method SendDice (line 210) | public static Message SendDice(
method SendDiceAsync (line 263) | public static Task<Message> SendDiceAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendDocument.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendDocument (line 22) | public static Message SendDocument(this ITelegramBotClient client, Sen...
method SendDocumentAsync (line 34) | public static Task<Message> SendDocumentAsync(
method SendDocument (line 72) | public static Message SendDocument(
method SendDocumentAsync (line 140) | public static Task<Message> SendDocumentAsync(
method SendDocument (line 264) | public static Message SendDocument(
method SendDocumentAsync (line 335) | public static Task<Message> SendDocumentAsync(
method SendDocument (line 466) | public static Message SendDocument(
method SendDocumentAsync (line 534) | public static Task<Message> SendDocumentAsync(
method SendDocument (line 658) | public static Message SendDocument(
method SendDocumentAsync (line 729) | public static Task<Message> SendDocumentAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendGift.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendGift (line 22) | public static bool SendGift(this ITelegramBotClient client, SendGiftAr...
method SendGiftAsync (line 34) | public static Task<bool> SendGiftAsync(
method SendGift (line 62) | public static bool SendGift(
method SendGiftAsync (line 92) | public static Task<bool> SendGiftAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendLivePhoto.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendLivePhoto (line 22) | public static Message SendLivePhoto(this ITelegramBotClient client, Se...
method SendLivePhotoAsync (line 34) | public static Task<Message> SendLivePhotoAsync(
method SendLivePhoto (line 73) | public static Message SendLivePhoto(
method SendLivePhotoAsync (line 144) | public static Task<Message> SendLivePhotoAsync(
method SendLivePhoto (line 270) | public static Message SendLivePhoto(
method SendLivePhotoAsync (line 341) | public static Task<Message> SendLivePhotoAsync(
method SendLivePhoto (line 467) | public static Message SendLivePhoto(
method SendLivePhotoAsync (line 538) | public static Task<Message> SendLivePhotoAsync(
method SendLivePhoto (line 664) | public static Message SendLivePhoto(
method SendLivePhotoAsync (line 735) | public static Task<Message> SendLivePhotoAsync(
method SendLivePhoto (line 861) | public static Message SendLivePhoto(
method SendLivePhotoAsync (line 932) | public static Task<Message> SendLivePhotoAsync(
method SendLivePhoto (line 1058) | public static Message SendLivePhoto(
method SendLivePhotoAsync (line 1129) | public static Task<Message> SendLivePhotoAsync(
method SendLivePhoto (line 1255) | public static Message SendLivePhoto(
method SendLivePhotoAsync (line 1326) | public static Task<Message> SendLivePhotoAsync(
method SendLivePhoto (line 1452) | public static Message SendLivePhoto(
method SendLivePhotoAsync (line 1523) | public static Task<Message> SendLivePhotoAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendLocation.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendLocation (line 22) | public static Message SendLocation(this ITelegramBotClient client, Sen...
method SendLocationAsync (line 34) | public static Task<Message> SendLocationAsync(
method SendLocation (line 72) | public static Message SendLocation(
method SendLocationAsync (line 140) | public static Task<Message> SendLocationAsync(
method SendLocation (line 257) | public static Message SendLocation(
method SendLocationAsync (line 325) | public static Task<Message> SendLocationAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendMediaGroup.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendMediaGroup (line 22) | public static IEnumerable<Message> SendMediaGroup(
method SendMediaGroupAsync (line 36) | public static Task<IEnumerable<Message>> SendMediaGroupAsync(
method SendMediaGroup (line 71) | public static IEnumerable<Message> SendMediaGroup(
method SendMediaGroupAsync (line 118) | public static Task<IEnumerable<Message>> SendMediaGroupAsync(
method SendMediaGroup (line 200) | public static IEnumerable<Message> SendMediaGroup(
method SendMediaGroupAsync (line 247) | public static Task<IEnumerable<Message>> SendMediaGroupAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendMessage.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendMessage (line 22) | public static Message SendMessage(this ITelegramBotClient client, Send...
method SendMessageAsync (line 34) | public static Task<Message> SendMessageAsync(
method SendMessage (line 70) | public static Message SendMessage(
method SendMessageAsync (line 132) | public static Task<Message> SendMessageAsync(
method SendMessage (line 240) | public static Message SendMessage(
method SendMessageAsync (line 302) | public static Task<Message> SendMessageAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendMessageDraft.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendMessageDraft (line 22) | public static bool SendMessageDraft(
method SendMessageDraftAsync (line 36) | public static Task<bool> SendMessageDraftAsync(
method SendMessageDraft (line 63) | public static bool SendMessageDraft(
method SendMessageDraftAsync (line 91) | public static Task<bool> SendMessageDraftAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendPaidMedia.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendPaidMedia (line 22) | public static Message SendPaidMedia(this ITelegramBotClient client, Se...
method SendPaidMediaAsync (line 34) | public static Task<Message> SendPaidMediaAsync(
method SendPaidMedia (line 72) | public static Message SendPaidMedia(
method SendPaidMediaAsync (line 140) | public static Task<Message> SendPaidMediaAsync(
method SendPaidMedia (line 257) | public static Message SendPaidMedia(
method SendPaidMediaAsync (line 325) | public static Task<Message> SendPaidMediaAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendPhoto.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendPhoto (line 22) | public static Message SendPhoto(this ITelegramBotClient client, SendPh...
method SendPhotoAsync (line 34) | public static Task<Message> SendPhotoAsync(
method SendPhoto (line 72) | public static Message SendPhoto(
method SendPhotoAsync (line 140) | public static Task<Message> SendPhotoAsync(
method SendPhoto (line 260) | public static Message SendPhoto(
method SendPhotoAsync (line 328) | public static Task<Message> SendPhotoAsync(
method SendPhoto (line 448) | public static Message SendPhoto(
method SendPhotoAsync (line 516) | public static Task<Message> SendPhotoAsync(
method SendPhoto (line 636) | public static Message SendPhoto(
method SendPhotoAsync (line 704) | public static Task<Message> SendPhotoAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendPoll.cs
class AvailableMethodsExtensions (line 13) | public static partial class AvailableMethodsExtensions
method SendPoll (line 23) | public static Message SendPoll(this ITelegramBotClient client, SendPol...
method SendPollAsync (line 35) | public static Task<Message> SendPollAsync(
method SendPoll (line 90) | public static Message SendPoll(
method SendPollAsync (line 209) | public static Task<Message> SendPollAsync(
method SendPoll (line 431) | public static Message SendPoll(
method SendPollAsync (line 550) | public static Task<Message> SendPollAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendVenue.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendVenue (line 22) | public static Message SendVenue(this ITelegramBotClient client, SendVe...
method SendVenueAsync (line 34) | public static Task<Message> SendVenueAsync(
method SendVenue (line 74) | public static Message SendVenue(
method SendVenueAsync (line 148) | public static Task<Message> SendVenueAsync(
method SendVenue (line 271) | public static Message SendVenue(
method SendVenueAsync (line 345) | public static Task<Message> SendVenueAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendVideo.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendVideo (line 22) | public static Message SendVideo(this ITelegramBotClient client, SendVi...
method SendVideoAsync (line 34) | public static Task<Message> SendVideoAsync(
method SendVideo (line 79) | public static Message SendVideo(
method SendVideoAsync (line 168) | public static Task<Message> SendVideoAsync(
method SendVideo (line 331) | public static Message SendVideo(
method SendVideoAsync (line 423) | public static Task<Message> SendVideoAsync(
method SendVideo (line 593) | public static Message SendVideo(
method SendVideoAsync (line 682) | public static Task<Message> SendVideoAsync(
method SendVideo (line 845) | public static Message SendVideo(
method SendVideoAsync (line 937) | public static Task<Message> SendVideoAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendVideoNote.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendVideoNote (line 22) | public static Message SendVideoNote(this ITelegramBotClient client, Se...
method SendVideoNoteAsync (line 34) | public static Task<Message> SendVideoNoteAsync(
method SendVideoNote (line 70) | public static Message SendVideoNote(
method SendVideoNoteAsync (line 132) | public static Task<Message> SendVideoNoteAsync(
method SendVideoNote (line 244) | public static Message SendVideoNote(
method SendVideoNoteAsync (line 309) | public static Task<Message> SendVideoNoteAsync(
method SendVideoNote (line 428) | public static Message SendVideoNote(
method SendVideoNoteAsync (line 490) | public static Task<Message> SendVideoNoteAsync(
method SendVideoNote (line 602) | public static Message SendVideoNote(
method SendVideoNoteAsync (line 667) | public static Task<Message> SendVideoNoteAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/sendVoice.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SendVoice (line 22) | public static Message SendVoice(this ITelegramBotClient client, SendVo...
method SendVoiceAsync (line 34) | public static Task<Message> SendVoiceAsync(
method SendVoice (line 71) | public static Message SendVoice(
method SendVoiceAsync (line 136) | public static Task<Message> SendVoiceAsync(
method SendVoice (line 250) | public static Message SendVoice(
method SendVoiceAsync (line 315) | public static Task<Message> SendVoiceAsync(
method SendVoice (line 429) | public static Message SendVoice(
method SendVoiceAsync (line 494) | public static Task<Message> SendVoiceAsync(
method SendVoice (line 608) | public static Message SendVoice(
method SendVoiceAsync (line 673) | public static Task<Message> SendVoiceAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountBio.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method SetBusinessAccountBio (line 21) | public static bool SetBusinessAccountBio(
method SetBusinessAccountBioAsync (line 37) | public static Task<bool> SetBusinessAccountBioAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountGiftSettings.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SetBusinessAccountGiftSettings (line 22) | public static bool SetBusinessAccountGiftSettings(
method SetBusinessAccountGiftSettingsAsync (line 36) | public static Task<bool> SetBusinessAccountGiftSettingsAsync(
method SetBusinessAccountGiftSettings (line 64) | public static bool SetBusinessAccountGiftSettings(
method SetBusinessAccountGiftSettingsAsync (line 90) | public static Task<bool> SetBusinessAccountGiftSettingsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountName.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method SetBusinessAccountName (line 22) | public static bool SetBusinessAccountName(
method SetBusinessAccountNameAsync (line 44) | public static Task<bool> SetBusinessAccountNameAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountProfilePhoto.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SetBusinessAccountProfilePhoto (line 22) | public static bool SetBusinessAccountProfilePhoto(
method SetBusinessAccountProfilePhotoAsync (line 36) | public static Task<bool> SetBusinessAccountProfilePhotoAsync(
method SetBusinessAccountProfilePhoto (line 64) | public static bool SetBusinessAccountProfilePhoto(
method SetBusinessAccountProfilePhotoAsync (line 86) | public static Task<bool> SetBusinessAccountProfilePhotoAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountUsername.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method SetBusinessAccountUsername (line 21) | public static bool SetBusinessAccountUsername(
method SetBusinessAccountUsernameAsync (line 41) | public static Task<bool> SetBusinessAccountUsernameAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setChatAdministratorCustomTitle.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method SetChatAdministratorCustomTitle (line 22) | public static bool SetChatAdministratorCustomTitle(
method SetChatAdministratorCustomTitleAsync (line 44) | public static Task<bool> SetChatAdministratorCustomTitleAsync(
method SetChatAdministratorCustomTitle (line 84) | public static bool SetChatAdministratorCustomTitle(
method SetChatAdministratorCustomTitleAsync (line 106) | public static Task<bool> SetChatAdministratorCustomTitleAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setChatDescription.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method SetChatDescription (line 21) | public static bool SetChatDescription(
method SetChatDescriptionAsync (line 37) | public static Task<bool> SetChatDescriptionAsync(
method SetChatDescription (line 71) | public static bool SetChatDescription(
method SetChatDescriptionAsync (line 87) | public static Task<bool> SetChatDescriptionAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setChatMemberTag.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method SetChatMemberTag (line 22) | public static bool SetChatMemberTag(
method SetChatMemberTagAsync (line 40) | public static Task<bool> SetChatMemberTagAsync(
method SetChatMemberTag (line 76) | public static bool SetChatMemberTag(
method SetChatMemberTagAsync (line 94) | public static Task<bool> SetChatMemberTagAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setChatMenuButton.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SetChatMenuButton (line 22) | public static bool SetChatMenuButton(
method SetChatMenuButtonAsync (line 36) | public static Task<bool> SetChatMenuButtonAsync(
method SetChatMenuButton (line 59) | public static bool SetChatMenuButton(
method SetChatMenuButtonAsync (line 75) | public static Task<bool> SetChatMenuButtonAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setChatPermissions.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SetChatPermissions (line 22) | public static bool SetChatPermissions(
method SetChatPermissionsAsync (line 36) | public static Task<bool> SetChatPermissionsAsync(
method SetChatPermissions (line 64) | public static bool SetChatPermissions(
method SetChatPermissionsAsync (line 86) | public static Task<bool> SetChatPermissionsAsync(
method SetChatPermissions (line 129) | public static bool SetChatPermissions(
method SetChatPermissionsAsync (line 151) | public static Task<bool> SetChatPermissionsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setChatPhoto.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SetChatPhoto (line 22) | public static bool SetChatPhoto(this ITelegramBotClient client, SetCha...
method SetChatPhotoAsync (line 34) | public static Task<bool> SetChatPhotoAsync(
method SetChatPhoto (line 57) | public static bool SetChatPhoto(this ITelegramBotClient client, long c...
method SetChatPhotoAsync (line 70) | public static Task<bool> SetChatPhotoAsync(
method SetChatPhoto (line 100) | public static bool SetChatPhoto(
method SetChatPhotoAsync (line 116) | public static Task<bool> SetChatPhotoAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setChatStickerSet.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method SetChatStickerSet (line 21) | public static bool SetChatStickerSet(
method SetChatStickerSetAsync (line 37) | public static Task<bool> SetChatStickerSetAsync(
method SetChatStickerSet (line 70) | public static bool SetChatStickerSet(
method SetChatStickerSetAsync (line 86) | public static Task<bool> SetChatStickerSetAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setChatTitle.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method SetChatTitle (line 21) | public static bool SetChatTitle(this ITelegramBotClient client, long c...
method SetChatTitleAsync (line 34) | public static Task<bool> SetChatTitleAsync(
method SetChatTitle (line 64) | public static bool SetChatTitle(this ITelegramBotClient client, string...
method SetChatTitleAsync (line 77) | public static Task<bool> SetChatTitleAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setManagedBotAccessSettings.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method SetManagedBotAccessSettings (line 20) | public static bool SetManagedBotAccessSettings(
method SetManagedBotAccessSettingsAsync (line 34) | public static Task<bool> SetManagedBotAccessSettingsAsync(
method SetManagedBotAccessSettings (line 62) | public static bool SetManagedBotAccessSettings(
method SetManagedBotAccessSettingsAsync (line 84) | public static Task<bool> SetManagedBotAccessSettingsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setMessageReaction.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SetMessageReaction (line 22) | public static bool SetMessageReaction(
method SetMessageReactionAsync (line 36) | public static Task<bool> SetMessageReactionAsync(
method SetMessageReaction (line 65) | public static bool SetMessageReaction(
method SetMessageReactionAsync (line 86) | public static Task<bool> SetMessageReactionAsync(
method SetMessageReaction (line 132) | public static bool SetMessageReaction(
method SetMessageReactionAsync (line 153) | public static Task<bool> SetMessageReactionAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setMyCommands.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SetMyCommands (line 22) | public static bool SetMyCommands(this ITelegramBotClient client, SetMy...
method SetMyCommandsAsync (line 34) | public static Task<bool> SetMyCommandsAsync(
method SetMyCommands (line 58) | public static bool SetMyCommands(
method SetMyCommandsAsync (line 76) | public static Task<bool> SetMyCommandsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setMyDefaultAdministratorRights.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SetMyDefaultAdministratorRights (line 22) | public static bool SetMyDefaultAdministratorRights(
method SetMyDefaultAdministratorRightsAsync (line 36) | public static Task<bool> SetMyDefaultAdministratorRightsAsync(
method SetMyDefaultAdministratorRights (line 63) | public static bool SetMyDefaultAdministratorRights(
method SetMyDefaultAdministratorRightsAsync (line 79) | public static Task<bool> SetMyDefaultAdministratorRightsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setMyDescription.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method SetMyDescription (line 21) | public static bool SetMyDescription(
method SetMyDescriptionAsync (line 37) | public static Task<bool> SetMyDescriptionAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setMyName.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method SetMyName (line 21) | public static bool SetMyName(
method SetMyNameAsync (line 37) | public static Task<bool> SetMyNameAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setMyProfilePhoto.cs
class AvailableMethodsExtensions (line 12) | public static partial class AvailableMethodsExtensions
method SetMyProfilePhoto (line 22) | public static bool SetMyProfilePhoto(
method SetMyProfilePhotoAsync (line 36) | public static Task<bool> SetMyProfilePhotoAsync(
method SetMyProfilePhoto (line 58) | public static bool SetMyProfilePhoto(this ITelegramBotClient client, I...
method SetMyProfilePhotoAsync (line 70) | public static Task<bool> SetMyProfilePhotoAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setMyShortDescription.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method SetMyShortDescription (line 21) | public static bool SetMyShortDescription(
method SetMyShortDescriptionAsync (line 37) | public static Task<bool> SetMyShortDescriptionAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/setUserEmojiStatus.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method SetUserEmojiStatus (line 22) | public static bool SetUserEmojiStatus(
method SetUserEmojiStatusAsync (line 44) | public static Task<bool> SetUserEmojiStatusAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/transferBusinessAccountStars.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method TransferBusinessAccountStars (line 21) | public static bool TransferBusinessAccountStars(
method TransferBusinessAccountStarsAsync (line 41) | public static Task<bool> TransferBusinessAccountStarsAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/transferGift.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method TransferGift (line 23) | public static bool TransferGift(
method TransferGiftAsync (line 47) | public static Task<bool> TransferGiftAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/unbanChatMember.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method UnbanChatMember (line 22) | public static bool UnbanChatMember(
method UnbanChatMemberAsync (line 40) | public static Task<bool> UnbanChatMemberAsync(
method UnbanChatMember (line 76) | public static bool UnbanChatMember(
method UnbanChatMemberAsync (line 94) | public static Task<bool> UnbanChatMemberAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/unbanChatSenderChat.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method UnbanChatSenderChat (line 21) | public static bool UnbanChatSenderChat(
method UnbanChatSenderChatAsync (line 37) | public static Task<bool> UnbanChatSenderChatAsync(
method UnbanChatSenderChat (line 71) | public static bool UnbanChatSenderChat(
method UnbanChatSenderChatAsync (line 87) | public static Task<bool> UnbanChatSenderChatAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/unhideGeneralForumTopic.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method UnhideGeneralForumTopic (line 20) | public static bool UnhideGeneralForumTopic(this ITelegramBotClient cli...
method UnhideGeneralForumTopicAsync (line 32) | public static Task<bool> UnhideGeneralForumTopicAsync(
method UnhideGeneralForumTopic (line 60) | public static bool UnhideGeneralForumTopic(this ITelegramBotClient cli...
method UnhideGeneralForumTopicAsync (line 72) | public static Task<bool> UnhideGeneralForumTopicAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/unpinAllChatMessages.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method UnpinAllChatMessages (line 20) | public static bool UnpinAllChatMessages(this ITelegramBotClient client...
method UnpinAllChatMessagesAsync (line 32) | public static Task<bool> UnpinAllChatMessagesAsync(
method UnpinAllChatMessages (line 60) | public static bool UnpinAllChatMessages(this ITelegramBotClient client...
method UnpinAllChatMessagesAsync (line 72) | public static Task<bool> UnpinAllChatMessagesAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/unpinAllForumTopicMessages.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method UnpinAllForumTopicMessages (line 21) | public static bool UnpinAllForumTopicMessages(
method UnpinAllForumTopicMessagesAsync (line 37) | public static Task<bool> UnpinAllForumTopicMessagesAsync(
method UnpinAllForumTopicMessages (line 71) | public static bool UnpinAllForumTopicMessages(
method UnpinAllForumTopicMessagesAsync (line 87) | public static Task<bool> UnpinAllForumTopicMessagesAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/unpinAllGeneralForumTopicMessages.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method UnpinAllGeneralForumTopicMessages (line 20) | public static bool UnpinAllGeneralForumTopicMessages(
method UnpinAllGeneralForumTopicMessagesAsync (line 34) | public static Task<bool> UnpinAllGeneralForumTopicMessagesAsync(
method UnpinAllGeneralForumTopicMessages (line 62) | public static bool UnpinAllGeneralForumTopicMessages(
method UnpinAllGeneralForumTopicMessagesAsync (line 76) | public static Task<bool> UnpinAllGeneralForumTopicMessagesAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/unpinChatMessage.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method UnpinChatMessage (line 22) | public static bool UnpinChatMessage(
method UnpinChatMessageAsync (line 44) | public static Task<bool> UnpinChatMessageAsync(
method UnpinChatMessage (line 80) | public static bool UnpinChatMessage(
method UnpinChatMessageAsync (line 102) | public static Task<bool> UnpinChatMessageAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/upgradeGift.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method UpgradeGift (line 23) | public static bool UpgradeGift(
method UpgradeGiftAsync (line 47) | public static Task<bool> UpgradeGiftAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/verifyChat.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method VerifyChat (line 21) | public static bool VerifyChat(
method VerifyChatAsync (line 37) | public static Task<bool> VerifyChatAsync(
method VerifyChat (line 67) | public static bool VerifyChat(
method VerifyChatAsync (line 83) | public static Task<bool> VerifyChatAsync(
FILE: src/library/Telegram.BotAPI/AvailableMethods/verifyUser.cs
class AvailableMethodsExtensions (line 10) | public static partial class AvailableMethodsExtensions
method VerifyUser (line 21) | public static bool VerifyUser(
method VerifyUserAsync (line 37) | public static Task<bool> VerifyUserAsync(
FILE: src/library/Telegram.BotAPI/AvailableTypes/AcceptedGiftTypes.cs
class AcceptedGiftTypes (line 10) | public class AcceptedGiftTypes
FILE: src/library/Telegram.BotAPI/AvailableTypes/Animation.cs
class Animation (line 10) | public class Animation
FILE: src/library/Telegram.BotAPI/AvailableTypes/Audio.cs
class Audio (line 10) | public class Audio
FILE: src/library/Telegram.BotAPI/AvailableTypes/BackgroundFill/BackgroundFill.cs
class BackgroundFill (line 17) | [JsonConverter(typeof(BackgroundFillConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/BackgroundFill/BackgroundFillFreeformGradient.cs
class BackgroundFillFreeformGradient (line 10) | public class BackgroundFillFreeformGradient : BackgroundFill
FILE: src/library/Telegram.BotAPI/AvailableTypes/BackgroundFill/BackgroundFillGradient.cs
class BackgroundFillGradient (line 10) | public class BackgroundFillGradient : BackgroundFill
FILE: src/library/Telegram.BotAPI/AvailableTypes/BackgroundFill/BackgroundFillSolid.cs
class BackgroundFillSolid (line 10) | public class BackgroundFillSolid : BackgroundFill
FILE: src/library/Telegram.BotAPI/AvailableTypes/BackgroundType/BackgroundType.cs
class BackgroundType (line 18) | [JsonConverter(typeof(BackgroundTypeConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/BackgroundType/BackgroundTypeChatTheme.cs
class BackgroundTypeChatTheme (line 10) | public class BackgroundTypeChatTheme : BackgroundType
FILE: src/library/Telegram.BotAPI/AvailableTypes/BackgroundType/BackgroundTypeFill.cs
class BackgroundTypeFill (line 10) | public class BackgroundTypeFill : BackgroundType
FILE: src/library/Telegram.BotAPI/AvailableTypes/BackgroundType/BackgroundTypePattern.cs
class BackgroundTypePattern (line 10) | public class BackgroundTypePattern : BackgroundType
FILE: src/library/Telegram.BotAPI/AvailableTypes/BackgroundType/BackgroundTypeWallpaper.cs
class BackgroundTypeWallpaper (line 10) | public class BackgroundTypeWallpaper : BackgroundType
FILE: src/library/Telegram.BotAPI/AvailableTypes/Birthdate.cs
class Birthdate (line 10) | public class Birthdate
FILE: src/library/Telegram.BotAPI/AvailableTypes/BotAccessSettings.cs
class BotAccessSettings (line 10) | public class BotAccessSettings
FILE: src/library/Telegram.BotAPI/AvailableTypes/BotCommand.cs
class BotCommand (line 10) | public class BotCommand
method BotCommand (line 17) | public BotCommand(string command, string description)
FILE: src/library/Telegram.BotAPI/AvailableTypes/BotCommandScope/BotCommandScope.cs
class BotCommandScope (line 21) | [JsonConverter(typeof(BotCommandScopeConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/BotCommandScope/BotCommandScopeAllChatAdministrators.cs
class BotCommandScopeAllChatAdministrators (line 10) | public class BotCommandScopeAllChatAdministrators : BotCommandScope
FILE: src/library/Telegram.BotAPI/AvailableTypes/BotCommandScope/BotCommandScopeAllGroupChats.cs
class BotCommandScopeAllGroupChats (line 10) | public class BotCommandScopeAllGroupChats : BotCommandScope
FILE: src/library/Telegram.BotAPI/AvailableTypes/BotCommandScope/BotCommandScopeAllPrivateChats.cs
class BotCommandScopeAllPrivateChats (line 10) | public class BotCommandScopeAllPrivateChats : BotCommandScope
FILE: src/library/Telegram.BotAPI/AvailableTypes/BotCommandScope/BotCommandScopeChat.cs
class BotCommandScopeChat (line 10) | public class BotCommandScopeChat : BotCommandScope
method BotCommandScopeChat (line 16) | public BotCommandScopeChat(long chatId)
method BotCommandScopeChat (line 25) | public BotCommandScopeChat(string chatId)
FILE: src/library/Telegram.BotAPI/AvailableTypes/BotCommandScope/BotCommandScopeChatAdministrators.cs
class BotCommandScopeChatAdministrators (line 10) | public class BotCommandScopeChatAdministrators : BotCommandScope
method BotCommandScopeChatAdministrators (line 16) | public BotCommandScopeChatAdministrators(long chatId)
method BotCommandScopeChatAdministrators (line 25) | public BotCommandScopeChatAdministrators(string chatId)
FILE: src/library/Telegram.BotAPI/AvailableTypes/BotCommandScope/BotCommandScopeChatMember.cs
class BotCommandScopeChatMember (line 10) | public class BotCommandScopeChatMember : BotCommandScope
method BotCommandScopeChatMember (line 17) | public BotCommandScopeChatMember(long chatId, long userId)
method BotCommandScopeChatMember (line 28) | public BotCommandScopeChatMember(string chatId, long userId)
FILE: src/library/Telegram.BotAPI/AvailableTypes/BotCommandScope/BotCommandScopeDefault.cs
class BotCommandScopeDefault (line 10) | public class BotCommandScopeDefault : BotCommandScope
FILE: src/library/Telegram.BotAPI/AvailableTypes/BotDescription.cs
class BotDescription (line 10) | public class BotDescription
FILE: src/library/Telegram.BotAPI/AvailableTypes/BotName.cs
class BotName (line 10) | public class BotName
FILE: src/library/Telegram.BotAPI/AvailableTypes/BotShortDescription.cs
class BotShortDescription (line 10) | public class BotShortDescription
FILE: src/library/Telegram.BotAPI/AvailableTypes/BusinessBotRights.cs
class BusinessBotRights (line 10) | public class BusinessBotRights
FILE: src/library/Telegram.BotAPI/AvailableTypes/BusinessConnection.cs
class BusinessConnection (line 10) | public class BusinessConnection
FILE: src/library/Telegram.BotAPI/AvailableTypes/BusinessIntro.cs
class BusinessIntro (line 12) | public class BusinessIntro
FILE: src/library/Telegram.BotAPI/AvailableTypes/BusinessLocation.cs
class BusinessLocation (line 10) | public class BusinessLocation
FILE: src/library/Telegram.BotAPI/AvailableTypes/BusinessMessagesDeleted.cs
class BusinessMessagesDeleted (line 10) | public class BusinessMessagesDeleted
FILE: src/library/Telegram.BotAPI/AvailableTypes/BusinessOpeningHours.cs
class BusinessOpeningHours (line 10) | public class BusinessOpeningHours
FILE: src/library/Telegram.BotAPI/AvailableTypes/BusinessOpeningHoursInterval.cs
class BusinessOpeningHoursInterval (line 10) | public class BusinessOpeningHoursInterval
FILE: src/library/Telegram.BotAPI/AvailableTypes/CallbackQuery.cs
class CallbackQuery (line 12) | public class CallbackQuery
FILE: src/library/Telegram.BotAPI/AvailableTypes/Chat/Chat.cs
class Chat (line 10) | public class Chat
FILE: src/library/Telegram.BotAPI/AvailableTypes/Chat/ChatFullInfo.cs
class ChatFullInfo (line 10) | public class ChatFullInfo : Chat
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatAdministratorRights.cs
class ChatAdministratorRights (line 10) | public class ChatAdministratorRights
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatBackground.cs
class ChatBackground (line 10) | public class ChatBackground
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatBoost.cs
class ChatBoost (line 10) | public class ChatBoost
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatBoostAdded.cs
class ChatBoostAdded (line 10) | public class ChatBoostAdded
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatBoostRemoved.cs
class ChatBoostRemoved (line 10) | public class ChatBoostRemoved
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatBoostSource/ChatBoostSource.cs
class ChatBoostSource (line 17) | [JsonConverter(typeof(ChatBoostSourceConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatBoostSource/ChatBoostSourceGiftCode.cs
class ChatBoostSourceGiftCode (line 10) | public class ChatBoostSourceGiftCode : ChatBoostSource
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatBoostSource/ChatBoostSourceGiveaway.cs
class ChatBoostSourceGiveaway (line 10) | public class ChatBoostSourceGiveaway : ChatBoostSource
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatBoostSource/ChatBoostSourcePremium.cs
class ChatBoostSourcePremium (line 10) | public class ChatBoostSourcePremium : ChatBoostSource
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatBoostUpdated.cs
class ChatBoostUpdated (line 10) | public class ChatBoostUpdated
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatInviteLink.cs
class ChatInviteLink (line 10) | public class ChatInviteLink
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatJoinRequest.cs
class ChatJoinRequest (line 10) | public class ChatJoinRequest
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatLocation.cs
class ChatLocation (line 10) | public class ChatLocation
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatMember/ChatMember.cs
class ChatMember (line 20) | [JsonConverter(typeof(ChatMemberConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatMember/ChatMemberAdministrator.cs
class ChatMemberAdministrator (line 10) | public class ChatMemberAdministrator : ChatMember
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatMember/ChatMemberBanned.cs
class ChatMemberBanned (line 10) | public class ChatMemberBanned : ChatMember
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatMember/ChatMemberLeft.cs
class ChatMemberLeft (line 10) | public class ChatMemberLeft : ChatMember
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatMember/ChatMemberMember.cs
class ChatMemberMember (line 10) | public class ChatMemberMember : ChatMember
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatMember/ChatMemberOwner.cs
class ChatMemberOwner (line 10) | public class ChatMemberOwner : ChatMember
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatMember/ChatMemberRestricted.cs
class ChatMemberRestricted (line 10) | public class ChatMemberRestricted : ChatMember
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatMemberUpdated.cs
class ChatMemberUpdated (line 10) | public class ChatMemberUpdated
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatOwnerChanged.cs
class ChatOwnerChanged (line 10) | public class ChatOwnerChanged
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatOwnerLeft.cs
class ChatOwnerLeft (line 10) | public class ChatOwnerLeft
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatPermissions.cs
class ChatPermissions (line 10) | public class ChatPermissions
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatPhoto.cs
class ChatPhoto (line 10) | public class ChatPhoto
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChatShared.cs
class ChatShared (line 10) | public class ChatShared
FILE: src/library/Telegram.BotAPI/AvailableTypes/Checklist.cs
class Checklist (line 10) | public class Checklist
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChecklistTask.cs
class ChecklistTask (line 10) | public class ChecklistTask
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChecklistTasksAdded.cs
class ChecklistTasksAdded (line 10) | public class ChecklistTasksAdded
FILE: src/library/Telegram.BotAPI/AvailableTypes/ChecklistTasksDone.cs
class ChecklistTasksDone (line 10) | public class ChecklistTasksDone
FILE: src/library/Telegram.BotAPI/AvailableTypes/Contact.cs
class Contact (line 10) | public class Contact
FILE: src/library/Telegram.BotAPI/AvailableTypes/CopyTextButton.cs
class CopyTextButton (line 10) | public class CopyTextButton
method CopyTextButton (line 16) | public CopyTextButton(string text)
FILE: src/library/Telegram.BotAPI/AvailableTypes/Dice.cs
class Dice (line 10) | public class Dice
FILE: src/library/Telegram.BotAPI/AvailableTypes/DirectMessagePriceChanged.cs
class DirectMessagePriceChanged (line 10) | public class DirectMessagePriceChanged
FILE: src/library/Telegram.BotAPI/AvailableTypes/DirectMessagesTopic.cs
class DirectMessagesTopic (line 10) | public class DirectMessagesTopic
FILE: src/library/Telegram.BotAPI/AvailableTypes/Document.cs
class Document (line 10) | public class Document
FILE: src/library/Telegram.BotAPI/AvailableTypes/ExternalReplyInfo.cs
class ExternalReplyInfo (line 14) | public class ExternalReplyInfo
FILE: src/library/Telegram.BotAPI/AvailableTypes/File.cs
class File (line 10) | public class File
FILE: src/library/Telegram.BotAPI/AvailableTypes/ForumTopic.cs
class ForumTopic (line 10) | public class ForumTopic
FILE: src/library/Telegram.BotAPI/AvailableTypes/ForumTopicClosed.cs
class ForumTopicClosed (line 10) | public class ForumTopicClosed { }
FILE: src/library/Telegram.BotAPI/AvailableTypes/ForumTopicCreated.cs
class ForumTopicCreated (line 10) | public class ForumTopicCreated
FILE: src/library/Telegram.BotAPI/AvailableTypes/ForumTopicEdited.cs
class ForumTopicEdited (line 10) | public class ForumTopicEdited
FILE: src/library/Telegram.BotAPI/AvailableTypes/ForumTopicReopened.cs
class ForumTopicReopened (line 10) | public class ForumTopicReopened { }
FILE: src/library/Telegram.BotAPI/AvailableTypes/GeneralForumTopicHidden.cs
class GeneralForumTopicHidden (line 10) | public class GeneralForumTopicHidden { }
FILE: src/library/Telegram.BotAPI/AvailableTypes/GeneralForumTopicUnhidden.cs
class GeneralForumTopicUnhidden (line 10) | public class GeneralForumTopicUnhidden { }
FILE: src/library/Telegram.BotAPI/AvailableTypes/Gift.cs
class Gift (line 12) | public class Gift
FILE: src/library/Telegram.BotAPI/AvailableTypes/GiftBackground.cs
class GiftBackground (line 10) | public class GiftBackground
FILE: src/library/Telegram.BotAPI/AvailableTypes/GiftInfo.cs
class GiftInfo (line 10) | public class GiftInfo
FILE: src/library/Telegram.BotAPI/AvailableTypes/Gifts.cs
class Gifts (line 10) | public class Gifts
FILE: src/library/Telegram.BotAPI/AvailableTypes/Giveaway.cs
class Giveaway (line 10) | public class Giveaway
FILE: src/library/Telegram.BotAPI/AvailableTypes/GiveawayCompleted.cs
class GiveawayCompleted (line 10) | public class GiveawayCompleted
FILE: src/library/Telegram.BotAPI/AvailableTypes/GiveawayCreated.cs
class GiveawayCreated (line 10) | public class GiveawayCreated
FILE: src/library/Telegram.BotAPI/AvailableTypes/GiveawayWinners.cs
class GiveawayWinners (line 10) | public class GiveawayWinners
FILE: src/library/Telegram.BotAPI/AvailableTypes/InlineKeyboardButton.cs
class InlineKeyboardButton (line 12) | public class InlineKeyboardButton
method InlineKeyboardButton (line 18) | public InlineKeyboardButton(string text)
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputChecklist.cs
class InputChecklist (line 10) | public class InputChecklist
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputChecklistTask.cs
class InputChecklistTask (line 10) | public class InputChecklistTask
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputFile.cs
class InputFile (line 12) | public sealed class InputFile : IEquatable<InputFile>
method InputFile (line 29) | public InputFile(StreamContent streamcontent, string filename)
method InputFile (line 38) | public InputFile(Stream stream, string filename)
method InputFile (line 47) | public InputFile(byte[] file, string filename)
method Equals (line 54) | public override bool Equals(object obj)
method Equals (line 60) | public bool Equals(InputFile? other)
method GetHashCode (line 68) | public override int GetHashCode()
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMedia.cs
class InputMedia (line 23) | [JsonConverter(typeof(InputMediaConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaAnimation.cs
class InputMediaAnimation (line 10) | public class InputMediaAnimation : InputMedia
method InputMediaAnimation (line 16) | public InputMediaAnimation(string media)
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaAudio.cs
class InputMediaAudio (line 10) | public class InputMediaAudio : InputMedia
method InputMediaAudio (line 16) | public InputMediaAudio(string media)
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaDocument.cs
class InputMediaDocument (line 10) | public class InputMediaDocument : InputMedia
method InputMediaDocument (line 16) | public InputMediaDocument(string media)
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaLivePhoto.cs
class InputMediaLivePhoto (line 10) | public class InputMediaLivePhoto : InputMedia
method InputMediaLivePhoto (line 17) | public InputMediaLivePhoto(string media, string photo)
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaLocation.cs
class InputMediaLocation (line 10) | public class InputMediaLocation : InputMedia
method InputMediaLocation (line 17) | public InputMediaLocation(float latitude, float longitude)
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaPhoto.cs
class InputMediaPhoto (line 10) | public class InputMediaPhoto : InputMedia
method InputMediaPhoto (line 16) | public InputMediaPhoto(string media)
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaSticker.cs
class InputMediaSticker (line 10) | public class InputMediaSticker : InputMedia
method InputMediaSticker (line 16) | public InputMediaSticker(string media)
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaVenue.cs
class InputMediaVenue (line 10) | public class InputMediaVenue : InputMedia
method InputMediaVenue (line 19) | public InputMediaVenue(float latitude, float longitude, string title, ...
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaVideo.cs
class InputMediaVideo (line 10) | public class InputMediaVideo : InputMedia
method InputMediaVideo (line 16) | public InputMediaVideo(string media)
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputPaidMedia/InputPaidMedia.cs
class InputPaidMedia (line 17) | [JsonConverter(typeof(InputPaidMediaConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputPaidMedia/InputPaidMediaLivePhoto.cs
class InputPaidMediaLivePhoto (line 10) | public class InputPaidMediaLivePhoto : InputPaidMedia
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputPaidMedia/InputPaidMediaPhoto.cs
class InputPaidMediaPhoto (line 10) | public class InputPaidMediaPhoto : InputPaidMedia
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputPaidMedia/InputPaidMediaVideo.cs
class InputPaidMediaVideo (line 10) | public class InputPaidMediaVideo : InputPaidMedia
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputPollOption.cs
class InputPollOption (line 12) | public class InputPollOption
method InputPollOption (line 18) | public InputPollOption(string text)
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputProfilePhoto/InputProfilePhoto.cs
class InputProfilePhoto (line 16) | [JsonConverter(typeof(InputProfilePhotoConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputProfilePhoto/InputProfilePhotoAnimated.cs
class InputProfilePhotoAnimated (line 10) | public class InputProfilePhotoAnimated : InputProfilePhoto
method InputProfilePhotoAnimated (line 16) | public InputProfilePhotoAnimated(string animation)
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputProfilePhoto/InputProfilePhotoStatic.cs
class InputProfilePhotoStatic (line 10) | public class InputProfilePhotoStatic : InputProfilePhoto
method InputProfilePhotoStatic (line 16) | public InputProfilePhotoStatic(string photo)
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputStoryContent/InputStoryContent.cs
class InputStoryContent (line 16) | [JsonConverter(typeof(InputStoryContentConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputStoryContent/InputStoryContentPhoto.cs
class InputStoryContentPhoto (line 10) | public class InputStoryContentPhoto : InputStoryContent
method InputStoryContentPhoto (line 16) | public InputStoryContentPhoto(string photo)
FILE: src/library/Telegram.BotAPI/AvailableTypes/InputStoryContent/InputStoryContentVideo.cs
class InputStoryContentVideo (line 10) | public class InputStoryContentVideo : InputStoryContent
method InputStoryContentVideo (line 16) | public InputStoryContentVideo(string video)
FILE: src/library/Telegram.BotAPI/AvailableTypes/KeyboardButton.cs
class KeyboardButton (line 10) | public class KeyboardButton
method KeyboardButton (line 16) | public KeyboardButton(string text)
FILE: src/library/Telegram.BotAPI/AvailableTypes/KeyboardButtonPollType.cs
class KeyboardButtonPollType (line 10) | public class KeyboardButtonPollType
FILE: src/library/Telegram.BotAPI/AvailableTypes/KeyboardButtonRequestChat.cs
class KeyboardButtonRequestChat (line 10) | public class KeyboardButtonRequestChat
method KeyboardButtonRequestChat (line 17) | public KeyboardButtonRequestChat(int requestId, bool chatIsChannel)
FILE: src/library/Telegram.BotAPI/AvailableTypes/KeyboardButtonRequestManagedBot.cs
class KeyboardButtonRequestManagedBot (line 10) | public class KeyboardButtonRequestManagedBot
FILE: src/library/Telegram.BotAPI/AvailableTypes/KeyboardButtonRequestUsers.cs
class KeyboardButtonRequestUsers (line 10) | public class KeyboardButtonRequestUsers
method KeyboardButtonRequestUsers (line 16) | public KeyboardButtonRequestUsers(int requestId)
FILE: src/library/Telegram.BotAPI/AvailableTypes/LinkPreviewOptions.cs
class LinkPreviewOptions (line 10) | public class LinkPreviewOptions
FILE: src/library/Telegram.BotAPI/AvailableTypes/LivePhoto.cs
class LivePhoto (line 10) | public class LivePhoto
FILE: src/library/Telegram.BotAPI/AvailableTypes/Location.cs
class Location (line 10) | public class Location
FILE: src/library/Telegram.BotAPI/AvailableTypes/LocationAddress.cs
class LocationAddress (line 10) | public class LocationAddress
FILE: src/library/Telegram.BotAPI/AvailableTypes/LoginUrl.cs
class LoginUrl (line 11) | public class LoginUrl
method LoginUrl (line 17) | public LoginUrl(string url)
FILE: src/library/Telegram.BotAPI/AvailableTypes/ManagedBotCreated.cs
class ManagedBotCreated (line 10) | public class ManagedBotCreated
FILE: src/library/Telegram.BotAPI/AvailableTypes/ManagedBotUpdated.cs
class ManagedBotUpdated (line 10) | public class ManagedBotUpdated
FILE: src/library/Telegram.BotAPI/AvailableTypes/MaybeInaccessibleMessage/InaccessibleMessage.cs
class InaccessibleMessage (line 10) | public class InaccessibleMessage : MaybeInaccessibleMessage
FILE: src/library/Telegram.BotAPI/AvailableTypes/MaybeInaccessibleMessage/MaybeInaccessibleMessage.cs
class MaybeInaccessibleMessage (line 16) | [JsonConverter(typeof(MaybeInaccessibleMessageConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/MaybeInaccessibleMessage/Message.cs
class Message (line 15) | public class Message : MaybeInaccessibleMessage
FILE: src/library/Telegram.BotAPI/AvailableTypes/MenuButton/MenuButton.cs
class MenuButton (line 18) | [JsonConverter(typeof(MenuButtonConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/MenuButton/MenuButtonCommands.cs
class MenuButtonCommands (line 10) | public class MenuButtonCommands : MenuButton
FILE: src/library/Telegram.BotAPI/AvailableTypes/MenuButton/MenuButtonDefault.cs
class MenuButtonDefault (line 10) | public class MenuButtonDefault : MenuButton
FILE: src/library/Telegram.BotAPI/AvailableTypes/MenuButton/MenuButtonWebApp.cs
class MenuButtonWebApp (line 10) | public class MenuButtonWebApp : MenuButton
FILE: src/library/Telegram.BotAPI/AvailableTypes/MessageAutoDeleteTimerChanged.cs
class MessageAutoDeleteTimerChanged (line 10) | public class MessageAutoDeleteTimerChanged
FILE: src/library/Telegram.BotAPI/AvailableTypes/MessageEntity.cs
class MessageEntity (line 10) | public class MessageEntity
FILE: src/library/Telegram.BotAPI/AvailableTypes/MessageID.cs
class MessageId (line 10) | public class MessageId
FILE: src/library/Telegram.BotAPI/AvailableTypes/MessageOrigin/MessageOrigin.cs
class MessageOrigin (line 18) | [JsonConverter(typeof(MessageOriginConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/MessageOrigin/MessageOriginChannel.cs
class MessageOriginChannel (line 10) | public class MessageOriginChannel : MessageOrigin
FILE: src/library/Telegram.BotAPI/AvailableTypes/MessageOrigin/MessageOriginChat.cs
class MessageOriginChat (line 10) | public class MessageOriginChat : MessageOrigin
FILE: src/library/Telegram.BotAPI/AvailableTypes/MessageOrigin/MessageOriginHiddenUser.cs
class MessageOriginHiddenUser (line 10) | public class MessageOriginHiddenUser : MessageOrigin
FILE: src/library/Telegram.BotAPI/AvailableTypes/MessageOrigin/MessageOriginUser.cs
class MessageOriginUser (line 10) | public class MessageOriginUser : MessageOrigin
FILE: src/library/Telegram.BotAPI/AvailableTypes/MessageReactionCountUpdated.cs
class MessageReactionCountUpdated (line 10) | public class MessageReactionCountUpdated
FILE: src/library/Telegram.BotAPI/AvailableTypes/MessageReactionUpdated.cs
class MessageReactionUpdated (line 10) | public class MessageReactionUpdated
FILE: src/library/Telegram.BotAPI/AvailableTypes/OwnedGift/OwnedGift.cs
class OwnedGift (line 16) | [JsonConverter(typeof(OwnedGiftConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/OwnedGift/OwnedGiftRegular.cs
class OwnedGiftRegular (line 10) | public class OwnedGiftRegular : OwnedGift
FILE: src/library/Telegram.BotAPI/AvailableTypes/OwnedGift/OwnedGiftUnique.cs
class OwnedGiftUnique (line 10) | public class OwnedGiftUnique : OwnedGift
FILE: src/library/Telegram.BotAPI/AvailableTypes/OwnedGifts.cs
class OwnedGifts (line 10) | public class OwnedGifts
FILE: src/library/Telegram.BotAPI/AvailableTypes/PaidMedia/PaidMedia.cs
class PaidMedia (line 18) | [JsonConverter(typeof(PaidMediaConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/PaidMedia/PaidMediaLivePhoto.cs
class PaidMediaLivePhoto (line 10) | public class PaidMediaLivePhoto : PaidMedia
FILE: src/library/Telegram.BotAPI/AvailableTypes/PaidMedia/PaidMediaPhoto.cs
class PaidMediaPhoto (line 10) | public class PaidMediaPhoto : PaidMedia
FILE: src/library/Telegram.BotAPI/AvailableTypes/PaidMedia/PaidMediaPreview.cs
class PaidMediaPreview (line 10) | public class PaidMediaPreview : PaidMedia
FILE: src/library/Telegram.BotAPI/AvailableTypes/PaidMedia/PaidMediaVideo.cs
class PaidMediaVideo (line 10) | public class PaidMediaVideo : PaidMedia
FILE: src/library/Telegram.BotAPI/AvailableTypes/PaidMediaInfo.cs
class PaidMediaInfo (line 10) | public class PaidMediaInfo
FILE: src/library/Telegram.BotAPI/AvailableTypes/PaidMessagePriceChanged.cs
class PaidMessagePriceChanged (line 10) | public class PaidMessagePriceChanged
FILE: src/library/Telegram.BotAPI/AvailableTypes/PhotoSize.cs
class PhotoSize (line 10) | public class PhotoSize
FILE: src/library/Telegram.BotAPI/AvailableTypes/Poll.cs
class Poll (line 10) | public class Poll
FILE: src/library/Telegram.BotAPI/AvailableTypes/PollAnswer.cs
class PollAnswer (line 10) | public class PollAnswer
FILE: src/library/Telegram.BotAPI/AvailableTypes/PollMedia.cs
class PollMedia (line 12) | public class PollMedia
FILE: src/library/Telegram.BotAPI/AvailableTypes/PollOption.cs
class PollOption (line 10) | public class PollOption
FILE: src/library/Telegram.BotAPI/AvailableTypes/PollOptionAdded.cs
class PollOptionAdded (line 10) | public class PollOptionAdded
FILE: src/library/Telegram.BotAPI/AvailableTypes/PollOptionDeleted.cs
class PollOptionDeleted (line 10) | public class PollOptionDeleted
FILE: src/library/Telegram.BotAPI/AvailableTypes/PreparedInlineMessage.cs
class PreparedInlineMessage (line 10) | public class PreparedInlineMessage
FILE: src/library/Telegram.BotAPI/AvailableTypes/PreparedKeyboardButton.cs
class PreparedKeyboardButton (line 10) | public class PreparedKeyboardButton
FILE: src/library/Telegram.BotAPI/AvailableTypes/ProximityAlertTriggered.cs
class ProximityAlertTriggered (line 10) | public class ProximityAlertTriggered
FILE: src/library/Telegram.BotAPI/AvailableTypes/ReactionCount.cs
class ReactionCount (line 10) | public class ReactionCount
FILE: src/library/Telegram.BotAPI/AvailableTypes/ReactionType/ReactionType.cs
class ReactionType (line 17) | [JsonConverter(typeof(ReactionTypeConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/ReactionType/ReactionTypeCustomEmoji.cs
class ReactionTypeCustomEmoji (line 10) | public class ReactionTypeCustomEmoji : ReactionType
method ReactionTypeCustomEmoji (line 16) | public ReactionTypeCustomEmoji(string customEmojiId)
FILE: src/library/Telegram.BotAPI/AvailableTypes/ReactionType/ReactionTypeEmoji.cs
class ReactionTypeEmoji (line 10) | public class ReactionTypeEmoji : ReactionType
method ReactionTypeEmoji (line 16) | public ReactionTypeEmoji(string emoji)
FILE: src/library/Telegram.BotAPI/AvailableTypes/ReactionType/ReactionTypePaid.cs
class ReactionTypePaid (line 10) | public class ReactionTypePaid : ReactionType
FILE: src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ForceReply.cs
class ForceReply (line 10) | public class ForceReply : ReplyMarkup
FILE: src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/InlineKeyboardMarkup.cs
class InlineKeyboardMarkup (line 10) | public class InlineKeyboardMarkup : ReplyMarkup
method InlineKeyboardMarkup (line 16) | public InlineKeyboardMarkup(IEnumerable<IEnumerable<InlineKeyboardButt...
FILE: src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ReplyKeyboardMarkup.cs
class ReplyKeyboardMarkup (line 10) | public class ReplyKeyboardMarkup : ReplyMarkup
method ReplyKeyboardMarkup (line 16) | public ReplyKeyboardMarkup(IEnumerable<IEnumerable<KeyboardButton>> ke...
FILE: src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ReplyKeyboardRemove.cs
class ReplyKeyboardRemove (line 10) | public class ReplyKeyboardRemove : ReplyMarkup
FILE: src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ReplyMarkup.cs
class ReplyMarkup (line 18) | [JsonConverter(typeof(ReplyMarkupConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/ReplyParameters.cs
class ReplyParameters (line 10) | public class ReplyParameters
FILE: src/library/Telegram.BotAPI/AvailableTypes/ResponseParameters.cs
class ResponseParameters (line 10) | public class ResponseParameters
FILE: src/library/Telegram.BotAPI/AvailableTypes/SentGuestMessage.cs
class SentGuestMessage (line 10) | public class SentGuestMessage
FILE: src/library/Telegram.BotAPI/AvailableTypes/SentWebAppMessage.cs
class SentWebAppMessage (line 10) | public class SentWebAppMessage
FILE: src/library/Telegram.BotAPI/AvailableTypes/SharedUser.cs
class SharedUser (line 10) | public class SharedUser
FILE: src/library/Telegram.BotAPI/AvailableTypes/StarAmount.cs
class StarAmount (line 10) | public class StarAmount
FILE: src/library/Telegram.BotAPI/AvailableTypes/Story.cs
class Story (line 10) | public class Story
FILE: src/library/Telegram.BotAPI/AvailableTypes/StoryArea.cs
class StoryArea (line 10) | public class StoryArea
FILE: src/library/Telegram.BotAPI/AvailableTypes/StoryAreaPosition.cs
class StoryAreaPosition (line 10) | public class StoryAreaPosition
FILE: src/library/Telegram.BotAPI/AvailableTypes/StoryAreaType/StoryAreaType.cs
class StoryAreaType (line 19) | [JsonConverter(typeof(StoryAreaTypeConverter))]
FILE: src/library/Telegram.BotAPI/AvailableTypes/StoryAreaType/StoryAreaTypeLink.cs
class StoryAreaTypeLink (line 10) | public class StoryAreaTypeLink : StoryAreaType
FILE: src/library/Telegram.BotAPI/AvailableTypes/StoryAreaType/StoryAreaTypeLocation.cs
class StoryAreaTypeLocation (line 10) | public class StoryAreaTypeLocation : StoryAreaType
FILE: src/library/Telegram.BotAPI/AvailableTypes/StoryAreaType/StoryAreaTypeSuggestedReaction.cs
class StoryAreaTypeSuggestedReaction (line 10) | public class StoryAreaTypeSuggestedReaction : StoryAreaType
FILE: src/library/Telegram.BotAPI/AvailableTypes/StoryAreaType/StoryAreaTypeUniqueGift.cs
class StoryAreaTypeUniqueGift (line 10) | public class StoryAreaTypeUniqueGift : StoryAreaType
FILE: src/library/Telegram.BotAPI/AvailableTypes/StoryAreaType/StoryAreaTypeWeather.cs
class StoryAreaTypeWeather (line 10) | public class StoryAreaTypeWeather : StoryAreaType
FILE: src/library/Telegram.BotAPI/AvailableTypes/SuggestedPostApprovalFailed.cs
class SuggestedPostApprovalFailed (line 10) | public class SuggestedPostApprovalFailed
FILE: src/library/Telegram.BotAPI/AvailableTypes/SuggestedPostApproved.cs
class SuggestedPostApproved (line 10) | public class SuggestedPostApproved
FILE: src/library/Telegram.BotAPI/AvailableTypes/SuggestedPostDeclined.cs
class SuggestedPostDeclined (line 10) | public class SuggestedPostDeclined
FILE: src/library/Telegram.BotAPI/AvailableTypes/SuggestedPostInfo.cs
class SuggestedPostInfo (line 10) | public class SuggestedPostInfo
FILE: src/library/Telegram.BotAPI/AvailableTypes/SuggestedPostPaid.cs
class SuggestedPostPaid (line 10) | public class SuggestedPostPaid
FILE: src/library/Telegram.BotAPI/AvailableTypes/SuggestedPostParameters.cs
class SuggestedPostParameters (line 10) | public class SuggestedPostParameters
FILE: src/library/Telegram.BotAPI/AvailableTypes/SuggestedPostPrice.cs
class SuggestedPostPrice (line 10) | public class SuggestedPostPrice
FILE: src/library/Telegram.BotAPI/AvailableTypes/SuggestedPostRefunded.cs
class SuggestedPostRefunded (line 10) | public class SuggestedPostRefunded
FILE: src/library/Telegram.BotAPI/AvailableTypes/SwitchInlineQueryChosenChat.cs
class SwitchInlineQueryChosenChat (line 10) | public class SwitchInlineQueryChosenChat
FILE: src/library/Telegram.BotAPI/AvailableTypes/TextQuote.cs
class TextQuote (line 10) | public class TextQuote
FILE: src/library/Telegram.BotAPI/AvailableTypes/UniqueGift.cs
class UniqueGift (line 10) | public class UniqueGift
FILE: src/library/Telegram.BotAPI/AvailableTypes/UniqueGiftBackdrop.cs
class UniqueGiftBackdrop (line 10) | public class UniqueGiftBackdrop
FILE: src/library/Telegram.BotAPI/AvailableTypes/UniqueGiftBackdropColors.cs
class UniqueGiftBackdropColors (line 10) | public class UniqueGiftBackdropColors
FILE: src/library/Telegram.BotAPI/AvailableTypes/UniqueGiftColors.cs
class UniqueGiftColors (line 10) | public class UniqueGiftColors
FILE: src/library/Telegram.BotAPI/AvailableTypes/UniqueGiftInfo.cs
class UniqueGiftInfo (line 10) | public class UniqueGiftInfo
FILE: src/library/Telegram.BotAPI/AvailableTypes/UniqueGiftModel.cs
class UniqueGiftModel (line 12) | public class UniqueGiftModel
FILE: src/library/Telegram.BotAPI/AvailableTypes/UniqueGiftSymbol.cs
class UniqueGiftSymbol (line 12) | public class UniqueGiftSymbol
FILE: src/library/Telegram.BotAPI/AvailableTypes/User.cs
class User (line 10) | public class User
FILE: src/library/Telegram.BotAPI/AvailableTypes/UserChatBoosts.cs
class UserChatBoosts (line 10) | public class UserChatBoosts
FILE: src/library/Telegram.BotAPI/AvailableTypes/UserProfileAudios.cs
class UserProfileAudios (line 10) | public class UserProfileAudios
FILE: src/library/Telegram.BotAPI/AvailableTypes/UserProfilePhotos.cs
class UserProfilePhotos (line 10) | public class UserProfilePhotos
FILE: src/library/Telegram.BotAPI/AvailableTypes/UserRating.cs
class UserRating (line 10) | public class UserRating
FILE: src/library/Telegram.BotAPI/AvailableTypes/UsersShared.cs
class UsersShared (line 10) | public class UsersShared
FILE: src/library/Telegram.BotAPI/AvailableTypes/Venue.cs
class Venue (line 10) | public class Venue
FILE: src/library/Telegram.BotAPI/AvailableTypes/Video.cs
class Video (line 10) | public class Video
FILE: src/library/Telegram.BotAPI/AvailableTypes/VideoChatEnded.cs
class VideoChatEnded (line 10) | public class VideoChatEnded
FILE: src/library/Telegram.BotAPI/AvailableTypes/VideoChatParticipantsInvited.cs
class VideoChatParticipantsInvited (line 10) | public class VideoChatParticipantsInvited
FILE: src/library/Telegram.BotAPI/AvailableTypes/VideoChatScheduled.cs
class VideoChatScheduled (line 10) | public class VideoChatScheduled
FILE: src/library/Telegram.BotAPI/AvailableTypes/VideoChatStarted.cs
class VideoChatStarted (line 10) | public class VideoChatStarted { }
FILE: src/library/Telegram.BotAPI/AvailableTypes/VideoNote.cs
class VideoNote (line 10) | public class VideoNote
FILE: src/library/Telegram.BotAPI/AvailableTypes/VideoQuality.cs
class VideoQuality (line 10) | public class VideoQuality
FILE: src/library/Telegram.BotAPI/AvailableTypes/Voice.cs
class Voice (line 10) | public class Voice
FILE: src/library/Telegram.BotAPI/AvailableTypes/WebAppData.cs
class WebAppData (line 10) | public class WebAppData
FILE: src/library/Telegram.BotAPI/AvailableTypes/WebAppInfo.cs
class WebAppInfo (line 10) | public class WebAppInfo
method WebAppInfo (line 16) | public WebAppInfo(string url)
FILE: src/library/Telegram.BotAPI/AvailableTypes/WriteAccessAllowed.cs
class WriteAccessAllowed (line 10) | public class WriteAccessAllowed
FILE: src/library/Telegram.BotAPI/BotRequestException.cs
class BotRequestException (line 14) | public sealed class BotRequestException(
FILE: src/library/Telegram.BotAPI/BotResponse.cs
class BotResponse (line 12) | public sealed class BotResponse<TResult>
FILE: src/library/Telegram.BotAPI/Constants/ChatActions.cs
class ChatActions (line 9) | public static class ChatActions
FILE: src/library/Telegram.BotAPI/Constants/ChatTypes.cs
class ChatTypes (line 9) | public static class ChatTypes
FILE: src/library/Telegram.BotAPI/Constants/FormatStyles.cs
class FormatStyles (line 12) | public static class FormatStyles
FILE: src/library/Telegram.BotAPI/Constants/InlineKeyboardButtonTypes.cs
class InlineKeyboardButtonTypes (line 9) | public static class InlineKeyboardButtonTypes
FILE: src/library/Telegram.BotAPI/Constants/MessageEntityTypes.cs
class MessageEntityTypes (line 12) | public static class MessageEntityTypes
FILE: src/library/Telegram.BotAPI/Constants/PollTypes.cs
class PollTypes (line 9) | public static class PollTypes
FILE: src/library/Telegram.BotAPI/Constants/Stickers/StickerFormats.cs
class StickerFormats (line 9) | public static class StickerFormats
FILE: src/library/Telegram.BotAPI/Constants/Stickers/StickerTypes.cs
class StickerTypes (line 9) | public static class StickerTypes
FILE: src/library/Telegram.BotAPI/Constants/UpdateTypes.cs
class UpdateTypes (line 9) | public sealed class UpdateTypes
FILE: src/library/Telegram.BotAPI/Converters/BackgroundFillConverter.cs
class BackgroundFillConverter (line 11) | public sealed class BackgroundFillConverter : DiscriminatorJsonConverter...
FILE: src/library/Telegram.BotAPI/Converters/BackgroundTypeConverter.cs
class BackgroundTypeConverter (line 11) | public sealed class BackgroundTypeConverter : DiscriminatorJsonConverter...
FILE: src/library/Telegram.BotAPI/Converters/BotCommandScopeConverter.cs
class BotCommandScopeConverter (line 11) | public sealed class BotCommandScopeConverter : DiscriminatorJsonConverte...
FILE: src/library/Telegram.BotAPI/Converters/ChatBoostSourceConverter.cs
class ChatBoostSourceConverter (line 12) | public sealed class ChatBoostSourceConverter : JsonConverter<ChatBoostSo...
method Read (line 21) | public override ChatBoostSource? Read(
method Write (line 64) | public override void Write(
FILE: src/library/Telegram.BotAPI/Converters/ChatMemberConverter.cs
class ChatMemberConverter (line 9) | public sealed class ChatMemberConverter : DiscriminatorJsonConverter<Cha...
FILE: src/library/Telegram.BotAPI/Converters/DiscriminatorJsonConverter.cs
class DiscriminatorJsonConverter (line 16) | public abstract class DiscriminatorJsonConverter<T> : JsonConverter<T>
method Write (line 27) | public override void Write(Utf8JsonWriter writer, T value, JsonSeriali...
method Read (line 38) | public override T? Read(
method LoadDiscriminatorMapping (line 99) | private static ReadOnlyDictionary<string, IEnumerable<Type>> LoadDiscr...
FILE: src/library/Telegram.BotAPI/Converters/InlineQueryResultConverter.cs
class InlineQueryResultConverter (line 9) | public sealed class InlineQueryResultConverter : DiscriminatorJsonConver...
FILE: src/library/Telegram.BotAPI/Converters/InputMediaConverter.cs
class InputMediaConverter (line 11) | public sealed class InputMediaConverter : DiscriminatorJsonConverter<Inp...
FILE: src/library/Telegram.BotAPI/Converters/InputMessageContentConverter.cs
class InputMessageContentConverter (line 12) | public sealed class InputMessageContentConverter : JsonConverter<InputMe...
method Read (line 21) | public override InputMessageContent? Read(
method Write (line 63) | public override void Write(
FILE: src/library/Telegram.BotAPI/Converters/InputPaidMediaConverter.cs
class InputPaidMediaConverter (line 11) | public sealed class InputPaidMediaConverter : DiscriminatorJsonConverter...
FILE: src/library/Telegram.BotAPI/Converters/InputProfilePhotoConverter.cs
class InputProfilePhotoConverter (line 9) | public sealed class InputProfilePhotoConverter : DiscriminatorJsonConver...
FILE: src/library/Telegram.BotAPI/Converters/InputStoryContentConverter.cs
class InputStoryContentConverter (line 9) | public sealed class InputStoryContentConverter : DiscriminatorJsonConver...
FILE: src/library/Telegram.BotAPI/Converters/MaybeInaccessibleMessageConverter.cs
class MaybeInaccessibleMessageConverter (line 12) | public sealed class MaybeInaccessibleMessageConverter : JsonConverter<Ma...
method Read (line 21) | public override MaybeInaccessibleMessage? Read(
method Write (line 50) | public override void Write(
FILE: src/library/Telegram.BotAPI/Converters/MenuButtonConverter.cs
class MenuButtonConverter (line 9) | public sealed class MenuButtonConverter : DiscriminatorJsonConverter<Men...
FILE: src/library/Telegram.BotAPI/Converters/MessageOriginConverter.cs
class MessageOriginConverter (line 11) | public sealed class MessageOriginConverter : DiscriminatorJsonConverter<...
FILE: src/library/Telegram.BotAPI/Converters/OwnedGiftConverter.cs
class OwnedGiftConverter (line 9) | public sealed class OwnedGiftConverter : DiscriminatorJsonConverter<Owne...
FILE: src/library/Telegram.BotAPI/Converters/PaidMediaConverter.cs
class PaidMediaConverter (line 11) | public sealed class PaidMediaConverter : DiscriminatorJsonConverter<Paid...
FILE: src/library/Telegram.BotAPI/Converters/PassportElementErrorConverter.cs
class PassportElementErrorConverter (line 11) | public sealed class PassportElementErrorConverter : DiscriminatorJsonCon...
FILE: src/library/Telegram.BotAPI/Converters/ReactionTypeConverter.cs
class ReactionTypeConverter (line 11) | public sealed class ReactionTypeConverter : DiscriminatorJsonConverter<R...
FILE: src/library/Telegram.BotAPI/Converters/ReplyMarkupConverter.cs
class ReplyMarkupConverter (line 12) | public sealed class ReplyMarkupConverter : JsonConverter<ReplyMarkup>
method Read (line 21) | public override ReplyMarkup? Read(
method Write (line 58) | public override void Write(
FILE: src/library/Telegram.BotAPI/Converters/RevenueWithdrawalStateConverter.cs
class RevenueWithdrawalStateConverter (line 11) | public sealed class RevenueWithdrawalStateConverter
FILE: src/library/Telegram.BotAPI/Converters/StoryAreaTypeConverter.cs
class StoryAreaTypeConverter (line 9) | public sealed class StoryAreaTypeConverter : DiscriminatorJsonConverter<...
FILE: src/library/Telegram.BotAPI/Converters/TransactionPartnerConverter.cs
class TransactionPartnerConverter (line 11) | public sealed class TransactionPartnerConverter : DiscriminatorJsonConve...
FILE: src/library/Telegram.BotAPI/Games/Args/SendGameArgs.cs
class SendGameArgs (line 12) | public class SendGameArgs
method SendGameArgs (line 19) | public SendGameArgs(long chatId, string gameShortName)
method SendGameArgs (line 31) | public SendGameArgs(string chatId, string gameShortName)
FILE: src/library/Telegram.BotAPI/Games/Args/SetGameScoreArgs.cs
class SetGameScoreArgs (line 10) | public class SetGameScoreArgs
method SetGameScoreArgs (line 17) | public SetGameScoreArgs(long userId, int score)
FILE: src/library/Telegram.BotAPI/Games/CallbackGame.cs
class CallbackGame (line 10) | public class CallbackGame { }
FILE: src/library/Telegram.BotAPI/Games/Game.cs
class Game (line 12) | public class Game
FILE: src/library/Telegram.BotAPI/Games/GameHighScore.cs
class GameHighScore (line 12) | public class GameHighScore
FILE: src/library/Telegram.BotAPI/Games/getGameHighScores.cs
class GamesExtensions (line 10) | public static partial class GamesExtensions
method GetGameHighScores (line 23) | public static IEnumerable<GameHighScore> GetGameHighScores(
method GetGameHighScoresAsync (line 47) | public static Task<IEnumerable<GameHighScore>> GetGameHighScoresAsync(
FILE: src/library/Telegram.BotAPI/Games/sendGame.cs
class GamesExtensions (line 12) | public static partial class GamesExtensions
method SendGame (line 22) | public static Message SendGame(this ITelegramBotClient client, SendGam...
method SendGameAsync (line 34) | public static Task<Message> SendGameAsync(
method SendGame (line 65) | public static Message SendGame(
method SendGameAsync (line 112) | public static Task<Message> SendGameAsync(
method SendGame (line 193) | public static Message SendGame(
method SendGameAsync (line 240) | public static Task<Message> SendGameAsync(
FILE: src/library/Telegram.BotAPI/Games/setGameScore.cs
class GamesExtensions (line 12) | public static partial class GamesExtensions
method SetGameScore (line 22) | public static TResult SetGameScore<TResult>(
method SetGameScoreAsync (line 36) | public static Task<TResult> SetGameScoreAsync<TResult>(
method SetGameScore (line 63) | public static Message SetGameScore(
method SetGameScoreAsync (line 91) | public static Task<Message> SetGameScoreAsync(
method SetGameScore (line 138) | public static bool SetGameScore(
method SetGameScoreAsync (line 164) | public static Task<bool> SetGameScoreAsync(
FILE: src/library/Telegram.BotAPI/GettingUpdates/Args/GetUpdatesArgs.cs
class GetUpdatesArgs (line 10) | public class GetUpdatesArgs
FILE: src/library/Telegram.BotAPI/GettingUpdates/Args/SetWebhookArgs.cs
class SetWebhookArgs (line 12) | public class SetWebhookArgs : AttachedFilesArgsBase
method SetWebhookArgs (line 18) | public SetWebhookArgs(string url)
FILE: src/library/Telegram.BotAPI/GettingUpdates/Update.cs
class Update (line 14) | public class Update
FILE: src/library/Telegram.BotAPI/GettingUpdates/WebhookInfo.cs
class WebhookInfo (line 10) | public class WebhookInfo
FILE: src/library/Telegram.BotAPI/GettingUpdates/deleteWebhook.cs
class GettingUpdatesExtensions (line 10) | public static partial class GettingUpdatesExtensions
method DeleteWebhook (line 20) | public static bool DeleteWebhook(
method DeleteWebhookAsync (line 34) | public static Task<bool> DeleteWebhookAsync(
FILE: src/library/Telegram.BotAPI/GettingUpdates/getUpdates.cs
class GettingUpdatesExtensions (line 10) | public static partial class GettingUpdatesExtensions
method GetUpdates (line 20) | public static IEnumerable<Update> GetUpdates(
method GetUpdatesAsync (line 34) | public static Task<IEnumerable<Update>> GetUpdatesAsync(
method GetUpdates (line 63) | public static IEnumerable<Update> GetUpdates(
method GetUpdatesAsync (line 83) | public static Task<IEnumerable<Update>> GetUpdatesAsync(
FILE: src/library/Telegram.BotAPI/GettingUpdates/getWebhookInfo.cs
class GettingUpdatesExtensions (line 10) | public static partial class GettingUpdatesExtensions
method GetWebhookInfo (line 19) | public static WebhookInfo GetWebhookInfo(this ITelegramBotClient clien...
method GetWebhookInfoAsync (line 30) | public static Task<WebhookInfo> GetWebhookInfoAsync(
FILE: src/library/Telegram.BotAPI/GettingUpdates/setWebhook.cs
class GettingUpdatesExtensions (line 12) | public static partial class GettingUpdatesExtensions
method SetWebhook (line 23) | public static bool SetWebhook(this ITelegramBotClient client, SetWebho...
method SetWebhookAsync (line 36) | public static Task<bool> SetWebhookAsync(
method SetWebhook (line 65) | public static bool SetWebhook(
method SetWebhookAsync (line 104) | public static Task<bool> SetWebhookAsync(
FILE: src/library/Telegram.BotAPI/InlineMode/Args/AnswerInlineQueryArgs.cs
class AnswerInlineQueryArgs (line 10) | public class AnswerInlineQueryArgs
method AnswerInlineQueryArgs (line 17) | public AnswerInlineQueryArgs(string inlineQueryId, IEnumerable<InlineQ...
FILE: src/library/Telegram.BotAPI/InlineMode/ChosenInlineResult.cs
class ChosenInlineResult (line 12) | public class ChosenInlineResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQuery.cs
class InlineQuery (line 12) | public class InlineQuery
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResult.cs
class InlineQueryResult (line 36) | [JsonConverter(typeof(InlineQueryResultConverter))]
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultArticle.cs
class InlineQueryResultArticle (line 12) | public class InlineQueryResultArticle : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultAudio.cs
class InlineQueryResultAudio (line 12) | public class InlineQueryResultAudio : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultCachedAudio.cs
class InlineQueryResultCachedAudio (line 12) | public class InlineQueryResultCachedAudio : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultCachedDocument.cs
class InlineQueryResultCachedDocument (line 12) | public class InlineQueryResultCachedDocument : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultCachedGif.cs
class InlineQueryResultCachedGif (line 12) | public class InlineQueryResultCachedGif : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultCachedMpeg4Gif.cs
class InlineQueryResultCachedMpeg4Gif (line 12) | public class InlineQueryResultCachedMpeg4Gif : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultCachedPhoto.cs
class InlineQueryResultCachedPhoto (line 12) | public class InlineQueryResultCachedPhoto : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultCachedSticker.cs
class InlineQueryResultCachedSticker (line 12) | public class InlineQueryResultCachedSticker : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultCachedVideo.cs
class InlineQueryResultCachedVideo (line 12) | public class InlineQueryResultCachedVideo : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultCachedVoice.cs
class InlineQueryResultCachedVoice (line 12) | public class InlineQueryResultCachedVoice : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultContact.cs
class InlineQueryResultContact (line 12) | public class InlineQueryResultContact : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultDocument.cs
class InlineQueryResultDocument (line 12) | public class InlineQueryResultDocument : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultGame.cs
class InlineQueryResultGame (line 13) | public class InlineQueryResultGame : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultGif.cs
class InlineQueryResultGif (line 12) | public class InlineQueryResultGif : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultLocation.cs
class InlineQueryResultLocation (line 12) | public class InlineQueryResultLocation : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultMpeg4Gif.cs
class InlineQueryResultMpeg4Gif (line 12) | public class InlineQueryResultMpeg4Gif : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultPhoto.cs
class InlineQueryResultPhoto (line 12) | public class InlineQueryResultPhoto : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultVenue.cs
class InlineQueryResultVenue (line 12) | public class InlineQueryResultVenue : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultVideo.cs
class InlineQueryResultVideo (line 12) | public class InlineQueryResultVideo : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultVoice.cs
class InlineQueryResultVoice (line 12) | public class InlineQueryResultVoice : InlineQueryResult
FILE: src/library/Telegram.BotAPI/InlineMode/InlineQueryResultsButton.cs
class InlineQueryResultsButton (line 12) | public class InlineQueryResultsButton
FILE: src/library/Telegram.BotAPI/InlineMode/InputMessageContent/InputContactMessageContent.cs
class InputContactMessageContent (line 10) | public class InputContactMessageContent : InputMessageContent
method InputContactMessageContent (line 17) | public InputContactMessageContent(string phoneNumber, string firstName)
FILE: src/library/Telegram.BotAPI/InlineMode/InputMessageContent/InputInvoiceMessageContent.cs
class InputInvoiceMessageContent (line 12) | public class InputInvoiceMessageContent : InputMessageContent
method InputInvoiceMessageContent (line 22) | public InputInvoiceMessageContent(
FILE: src/library/Telegram.BotAPI/InlineMode/InputMessageContent/InputLocationMessageContent.cs
class InputLocationMessageContent (line 10) | public class InputLocationMessageContent : InputMessageContent
method InputLocationMessageContent (line 17) | public InputLocationMessageContent(float latitude, float longitude)
FILE: src/library/Telegram.BotAPI/InlineMode/InputMessageContent/InputMessageContent.cs
class InputMessageContent (line 19) | [JsonConverter(typeof(InputMessageContentConverter))]
FILE: src/library/Telegram.BotAPI/InlineMode/InputMessageContent/InputTextMessageContent.cs
class InputTextMessageContent (line 12) | public class InputTextMessageContent : InputMessageContent
method InputTextMessageContent (line 18) | public InputTextMessageContent(string messageText)
FILE: src/library/Telegram.BotAPI/InlineMode/InputMessageContent/InputVenueMessageContent.cs
class InputVenueMessageContent (line 10) | public class InputVenueMessageContent : InputMessageContent
method InputVenueMessageContent (line 19) | public InputVenueMessageContent(float latitude, float longitude, strin...
FILE: src/library/Telegram.BotAPI/InlineMode/answerInlineQuery.cs
class InlineModeExtensions (line 10) | public static partial class InlineModeExtensions
method AnswerInlineQuery (line 20) | public static bool AnswerInlineQuery(
method AnswerInlineQueryAsync (line 34) | public static Task<bool> AnswerInlineQueryAsync(
method AnswerInlineQuery (line 61) | public static bool AnswerInlineQuery(
method AnswerInlineQueryAsync (line 96) | public static Task<bool> AnswerInlineQueryAsync(
FILE: src/library/Telegram.BotAPI/MethodNames.cs
class MethodNames (line 10) | public static partial class MethodNames
FILE: src/library/Telegram.BotAPI/Payments/AffiliateInfo.cs
class AffiliateInfo (line 12) | public class AffiliateInfo
FILE: src/library/Telegram.BotAPI/Payments/Args/AnswerShippingQueryArgs.cs
class AnswerShippingQueryArgs (line 10) | public class AnswerShippingQueryArgs
method AnswerShippingQueryArgs (line 17) | public AnswerShippingQueryArgs(string shippingQueryId, bool ok)
FILE: src/library/Telegram.BotAPI/Payments/Args/CreateInvoiceLinkArgs.cs
class CreateInvoiceLinkArgs (line 10) | public class CreateInvoiceLinkArgs
method CreateInvoiceLinkArgs (line 20) | public CreateInvoiceLinkArgs(
FILE: src/library/Telegram.BotAPI/Payments/Args/SendInvoiceArgs.cs
class SendInvoiceArgs (line 12) | public class SendInvoiceArgs
method SendInvoiceArgs (line 23) | public SendInvoiceArgs(
method SendInvoiceArgs (line 49) | public SendInvoiceArgs(
FILE: src/library/Telegram.BotAPI/Payments/Invoice.cs
class Invoice (line 10) | public class Invoice
FILE: src/library/Telegram.BotAPI/Payments/LabeledPrice.cs
class LabeledPrice (line 10) | public class LabeledPrice
method LabeledPrice (line 17) | public LabeledPrice(string label, int amount)
FILE: src/library/Telegram.BotAPI/Payments/OrderInfo.cs
class OrderInfo (line 10) | public class OrderInfo
FILE: src/library/Telegram.BotAPI/Payments/PaidMediaPurchased.cs
class PaidMediaPurchased (line 12) | public class PaidMediaPurchased
FILE: src/library/Telegram.BotAPI/Payments/PreCheckoutQuery.cs
class PreCheckoutQuery (line 12) | public class PreCheckoutQuery
FILE: src/library/Telegram.BotAPI/Payments/RefundedPayment.cs
class RefundedPayment (line 10) | public class RefundedPayment
FILE: src/library/Telegram.BotAPI/Payments/RevenueWithdrawalState/RevenueWithdrawalState.cs
class RevenueWithdrawalState (line 17) | [JsonConverter(typeof(RevenueWithdrawalStateConverter))]
FILE: src/library/Telegram.BotAPI/Payments/RevenueWithdrawalState/RevenueWithdrawalStateFailed.cs
class RevenueWithdrawalStateFailed (line 10) | public class RevenueWithdrawalStateFailed : RevenueWithdrawalState
FILE: src/library/Telegram.BotAPI/Payments/RevenueWithdrawalState/RevenueWithdrawalStatePending.cs
class RevenueWithdrawalStatePending (line 10) | public class RevenueWithdrawalStatePending : RevenueWithdrawalState
FILE: src/library/Telegram.BotAPI/Payments/RevenueWithdrawalState/RevenueWithdrawalStateSucceeded.cs
class RevenueWithdrawalStateSucceeded (line 10) | public class RevenueWithdrawalStateSucceeded : RevenueWithdrawalState
FILE: src/library/Telegram.BotAPI/Payments/ShippingAddress.cs
class ShippingAddress (line 10) | public class ShippingAddress
FILE: src/library/Telegram.BotAPI/Payments/ShippingOption.cs
class ShippingOption (line 10) | public class ShippingOption
method ShippingOption (line 18) | public ShippingOption(string id, string title, IEnumerable<LabeledPric...
FILE: src/library/Telegram.BotAPI/Payments/ShippingQuery.cs
class ShippingQuery (line 12) | public class ShippingQuery
FILE: src/library/Telegram.BotAPI/Payments/StarTransaction.cs
class StarTransaction (line 10) | public class StarTransaction
FILE: src/library/Telegram.BotAPI/Payments/StarTransactions.cs
class StarTransactions (line 10) | public class StarTransactions
FILE: src/library/Telegram.BotAPI/Payments/SuccessfulPayment.cs
class SuccessfulPayment (line 10) | public class SuccessfulPayment
FILE: src/library/Telegram.BotAPI/Payments/TransactionPartner/TransactionPartner.cs
class TransactionPartner (line 21) | [JsonConverter(typeof(TransactionPartnerConverter))]
FILE: src/library/Telegram.BotAPI/Payments/TransactionPartner/TransactionPartnerAffiliateProgram.cs
class TransactionPartnerAffiliateProgram (line 12) | public class TransactionPartnerAffiliateProgram : TransactionPartner
FILE: src/library/Telegram.BotAPI/Payments/TransactionPartner/TransactionPartnerChat.cs
class TransactionPartnerChat (line 12) | public class TransactionPartnerChat : TransactionPartner
FILE: src/library/Telegram.BotAPI/Payments/TransactionPartner/TransactionPartnerFragment.cs
class TransactionPartnerFragment (line 10) | public class TransactionPartnerFragment : TransactionPartner
FILE: src/library/Telegram.BotAPI/Payments/TransactionPartner/TransactionPartnerOther.cs
class TransactionPartnerOther (line 10) | public class TransactionPartnerOther : TransactionPartner
FILE: src/library/Telegram.BotAPI/Payments/TransactionPartner/TransactionPartnerTelegramAds.cs
class TransactionPartnerTelegramAds (line 10) | public class TransactionPartnerTelegramAds : TransactionPartner
FILE: src/library/Telegram.BotAPI/Payments/TransactionPartner/TransactionPartnerTelegramApi.cs
class TransactionPartnerTelegramApi (line 10) | public class TransactionPartnerTelegramApi : TransactionPartner
FILE: src/library/Telegram.BotAPI/Payments/TransactionPartner/TransactionPartnerUser.cs
class TransactionPartnerUser (line 12) | public class TransactionPartnerUser : TransactionPartner
FILE: src/library/Telegram.BotAPI/Payments/answerPreCheckoutQuery.cs
class PaymentsExtensions (line 12) | public static partial class PaymentsExtensions
method AnswerPreCheckoutQuery (line 24) | public static bool AnswerPreCheckoutQuery(
method AnswerPreCheckoutQueryAsync (line 46) | public static Task<bool> AnswerPreCheckoutQueryAsync(
FILE: src/library/Telegram.BotAPI/Payments/answerShippingQuery.cs
class PaymentsExtensions (line 12) | public static partial class PaymentsExtensions
method AnswerShippingQuery (line 22) | public static bool AnswerShippingQuery(
method AnswerShippingQueryAsync (line 36) | public static Task<bool> AnswerShippingQueryAsync(
method AnswerShippingQuery (line 65) | public static bool AnswerShippingQuery(
method AnswerShippingQueryAsync (line 89) | public static Task<bool> AnswerShippingQueryAsync(
FILE: src/library/Telegram.BotAPI/Payments/createInvoiceLink.cs
class PaymentsExtensions (line 10) | public static partial class PaymentsExtensions
method CreateInvoiceLink (line 20) | public static string CreateInvoiceLink(
method CreateInvoiceLinkAsync (line 34) | public static Task<string> CreateInvoiceLinkAsync(
method CreateInvoiceLink (line 81) | public static string CreateInvoiceLink(
method CreateInvoiceLinkAsync (line 164) | public static Task<string> CreateInvoiceLinkAsync(
FILE: src/library/Telegram.BotAPI/Payments/editUserStarSubscription.cs
class PaymentsExtensions (line 10) | public static partial class PaymentsExtensions
method EditUserStarSubscription (line 22) | public static bool EditUserStarSubscription(
method EditUserStarSubscriptionAsync (line 44) | public static Task<bool> EditUserStarSubscriptionAsync(
FILE: src/library/Telegram.BotAPI/Payments/getMyStarBalance.cs
class PaymentsExtensions (line 12) | public static partial class PaymentsExtensions
method GetMyStarBalance (line 21) | public static StarAmount GetMyStarBalance(this ITelegramBotClient clie...
method GetMyStarBalanceAsync (line 32) | public static Task<StarAmount> GetMyStarBalanceAsync(
FILE: src/library/Telegram.BotAPI/Payments/getStarTransactions.cs
class PaymentsExtensions (line 10) | public static partial class PaymentsExtensions
method GetStarTransactions (line 21) | public static StarTransactions GetStarTransactions(
method GetStarTransactionsAsync (line 37) | public static Task<StarTransactions> GetStarTransactionsAsync(
FILE: src/library/Telegram.BotAPI/Payments/refundStarPayment.cs
class PaymentsExtensions (line 10) | public static partial class PaymentsExtensions
method RefundStarPayment (line 21) | public static bool RefundStarPayment(
method RefundStarPaymentAsync (line 37) | public static Task<bool> RefundStarPaymentAsync(
FILE: src/library/Telegram.BotAPI/Payments/sendInvoice.cs
class PaymentsExtensions (line 12) | public static partial class PaymentsExtensions
method SendInvoice (line 22) | public static Message SendInvoice(this ITelegramBotClient client, Send...
method SendInvoiceAsync (line 34) | public static Task<Message> SendInvoiceAsync(
method SendInvoice (line 86) | public static Message SendInvoice(
method SendInvoiceAsync (line 196) | public static Task<Message> SendInvoiceAsync(
method SendInvoice (line 394) | public static Message SendInvoice(
method SendInvoiceAsync (line 504) | public static Task<Message> SendInvoiceAsync(
FILE: src/library/Telegram.BotAPI/PropertyNames.cs
class PropertyNames (line 10) | public static partial class PropertyNames
FILE: src/library/Telegram.BotAPI/Stickers/Args/AddStickerToSetArgs.cs
class AddStickerToSetArgs (line 10) | public class AddStickerToSetArgs : AttachedFilesArgsBase
method AddStickerToSetArgs (line 18) | public AddStickerToSetArgs(long userId, string name, InputSticker stic...
FILE: src/library/Telegram.BotAPI/Stickers/Args/CreateNewStickerSetArgs.cs
class CreateNewStickerSetArgs (line 10) | public class CreateNewStickerSetArgs : AttachedFilesArgsBase
method CreateNewStickerSetArgs (line 19) | public CreateNewStickerSetArgs(
FILE: src/library/Telegram.BotAPI/Stickers/Args/GetCustomEmojiStickersArgs.cs
class GetCustomEmojiStickersArgs (line 10) | public class GetCustomEmojiStickersArgs
method GetCustomEmojiStickersArgs (line 16) | public GetCustomEmojiStickersArgs(IEnumerable<string> customEmojiIds)
FILE: src/library/Telegram.BotAPI/Stickers/Args/ReplaceStickerInSetArgs.cs
class ReplaceStickerInSetArgs (line 10) | public class ReplaceStickerInSetArgs : AttachedFilesArgsBase
method ReplaceStickerInSetArgs (line 19) | public ReplaceStickerInSetArgs(
FILE: src/library/Telegram.BotAPI/Stickers/Args/SendGiftArgs.cs
class SendGiftArgs (line 12) | public class SendGiftArgs
method SendGiftArgs (line 18) | public SendGiftArgs(string giftId)
FILE: src/library/Telegram.BotAPI/Stickers/Args/SendStickerArgs.cs
class SendStickerArgs (line 12) | public class SendStickerArgs : AttachedFilesArgsBase
method SendStickerArgs (line 19) | public SendStickerArgs(long chatId, InputFile sticker)
method SendStickerArgs (line 30) | public SendStickerArgs(long chatId, string sticker)
method SendStickerArgs (line 41) | public SendStickerArgs(string chatId, InputFile sticker)
method SendStickerArgs (line 52) | public SendStickerArgs(string chatId, string sticker)
FILE: src/library/Telegram.BotAPI/Stickers/Args/SetStickerEmojiListArgs.cs
class SetStickerEmojiListArgs (line 10) | public class SetStickerEmojiListArgs
method SetStickerEmojiListArgs (line 17) | public SetStickerEmojiListArgs(string sticker, IEnumerable<string> emo...
FILE: src/library/Telegram.BotAPI/Stickers/Args/SetStickerKeywordsArgs.cs
class SetStickerKeywordsArgs (line 10) | public class SetStickerKeywordsArgs
method SetStickerKeywordsArgs (line 16) | public SetStickerKeywordsArgs(string sticker)
FILE: src/library/Telegram.BotAPI/Stickers/Args/SetStickerMaskPositionArgs.cs
class SetStickerMaskPositionArgs (line 10) | public class SetStickerMaskPositionArgs
method SetStickerMaskPositionArgs (line 16) | public SetStickerMaskPositionArgs(string sticker)
FILE: src/library/Telegram.BotAPI/Stickers/Args/SetStickerSetThumbnailArgs.cs
class SetStickerSetThumbnailArgs (line 12) | public class SetStickerSetThumbnailArgs : AttachedFilesArgsBase
method SetStickerSetThumbnailArgs (line 20) | public SetStickerSetThumbnailArgs(string name, long userId, string for...
FILE: src/library/Telegram.BotAPI/Stickers/Args/UploadStickerFileArgs.cs
class UploadStickerFileArgs (line 12) | public class UploadStickerFileArgs : AttachedFilesArgsBase
method UploadStickerFileArgs (line 20) | public UploadStickerFileArgs(long userId, InputFile sticker, string st...
FILE: src/library/Telegram.BotAPI/Stickers/Gift.cs
class Gift (line 10) | public class Gift
FILE: src/library/Telegram.BotAPI/Stickers/Gifts.cs
class Gifts (line 10) | public class Gifts
FILE: src/library/Telegram.BotAPI/Stickers/InputSticker.cs
class InputSticker (line 10) | public class InputSticker
FILE: src/library/Telegram.BotAPI/Stickers/MaskPosition.cs
class MaskPosition (line 10) | public class MaskPosition
FILE: src/library/Telegram.BotAPI/Stickers/Sticker.cs
class Sticker (line 12) | public class Sticker
FILE: src/library/Telegram.BotAPI/Stickers/StickerSet.cs
class StickerSet (line 12) | public class StickerSet
FILE: src/library/Telegram.BotAPI/Stickers/addStickerToSet.cs
class StickersExtensions (line 12) | public static partial class StickersExtensions
method AddStickerToSet (line 22) | public static bool AddStickerToSet(this ITelegramBotClient client, Add...
method AddStickerToSetAsync (line 34) | public static Task<bool> AddStickerToSetAsync(
method AddStickerToSet (line 58) | public static bool AddStickerToSet(
method AddStickerToSetAsync (line 76) | public static Task<bool> AddStickerToSetAsync(
FILE: src/library/Telegram.BotAPI/Stickers/createNewStickerSet.cs
class StickersExtensions (line 12) | public static partial class StickersExtensions
method CreateNewStickerSet (line 22) | public static bool CreateNewStickerSet(
method CreateNewStickerSetAsync (line 36) | public static Task<bool> CreateNewStickerSetAsync(
method CreateNewStickerSet (line 67) | public static bool CreateNewStickerSet(
method CreateNewStickerSetAsync (line 95) | public static Task<bool> CreateNewStickerSetAsync(
FILE: src/library/Telegram.BotAPI/Stickers/deleteStickerFromSet.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method DeleteStickerFromSet (line 20) | public static bool DeleteStickerFromSet(this ITelegramBotClient client...
method DeleteStickerFromSetAsync (line 32) | public static Task<bool> DeleteStickerFromSetAsync(
FILE: src/library/Telegram.BotAPI/Stickers/deleteStickerSet.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method DeleteStickerSet (line 20) | public static bool DeleteStickerSet(this ITelegramBotClient client, st...
method DeleteStickerSetAsync (line 32) | public static Task<bool> DeleteStickerSetAsync(
FILE: src/library/Telegram.BotAPI/Stickers/getAvailableGifts.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method GetAvailableGifts (line 19) | public static Gifts GetAvailableGifts(this ITelegramBotClient client) =>
method GetAvailableGiftsAsync (line 30) | public static Task<Gifts> GetAvailableGiftsAsync(
FILE: src/library/Telegram.BotAPI/Stickers/getCustomEmojiStickers.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method GetCustomEmojiStickers (line 20) | public static IEnumerable<Sticker> GetCustomEmojiStickers(
method GetCustomEmojiStickersAsync (line 34) | public static Task<IEnumerable<Sticker>> GetCustomEmojiStickersAsync(
method GetCustomEmojiStickers (line 60) | public static IEnumerable<Sticker> GetCustomEmojiStickers(
method GetCustomEmojiStickersAsync (line 74) | public static Task<IEnumerable<Sticker>> GetCustomEmojiStickersAsync(
FILE: src/library/Telegram.BotAPI/Stickers/getStickerSet.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method GetStickerSet (line 20) | public static StickerSet GetStickerSet(this ITelegramBotClient client,...
method GetStickerSetAsync (line 32) | public static Task<StickerSet> GetStickerSetAsync(
FILE: src/library/Telegram.BotAPI/Stickers/removeChatVerification.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method RemoveChatVerification (line 20) | public static bool RemoveChatVerification(this ITelegramBotClient clie...
method RemoveChatVerificationAsync (line 32) | public static Task<bool> RemoveChatVerificationAsync(
method RemoveChatVerification (line 60) | public static bool RemoveChatVerification(this ITelegramBotClient clie...
method RemoveChatVerificationAsync (line 72) | public static Task<bool> RemoveChatVerificationAsync(
FILE: src/library/Telegram.BotAPI/Stickers/removeUserVerification.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method RemoveUserVerification (line 20) | public static bool RemoveUserVerification(this ITelegramBotClient clie...
method RemoveUserVerificationAsync (line 32) | public static Task<bool> RemoveUserVerificationAsync(
FILE: src/library/Telegram.BotAPI/Stickers/replaceStickerInSet.cs
class StickersExtensions (line 12) | public static partial class StickersExtensions
method ReplaceStickerInSet (line 22) | public static bool ReplaceStickerInSet(
method ReplaceStickerInSetAsync (line 36) | public static Task<bool> ReplaceStickerInSetAsync(
method ReplaceStickerInSet (line 65) | public static bool ReplaceStickerInSet(
method ReplaceStickerInSetAsync (line 86) | public static Task<bool> ReplaceStickerInSetAsync(
FILE: src/library/Telegram.BotAPI/Stickers/sendGift.cs
class StickersExtensions (line 12) | public static partial class StickersExtensions
method SendGift (line 22) | public static bool SendGift(this ITelegramBotClient client, SendGiftAr...
method SendGiftAsync (line 34) | public static Task<bool> SendGiftAsync(
method SendGift (line 62) | public static bool SendGift(
method SendGiftAsync (line 92) | public static Task<bool> SendGiftAsync(
FILE: src/library/Telegram.BotAPI/Stickers/sendSticker.cs
class StickersExtensions (line 12) | public static partial class StickersExtensions
method SendSticker (line 22) | public static Message SendSticker(this ITelegramBotClient client, Send...
method SendStickerAsync (line 34) | public static Task<Message> SendStickerAsync(
method SendSticker (line 68) | public static Message SendSticker(
method SendStickerAsync (line 124) | public static Task<Message> SendStickerAsync(
method SendSticker (line 220) | public static Message SendSticker(
method SendStickerAsync (line 276) | public static Task<Message> SendStickerAsync(
method SendSticker (line 372) | public static Message SendSticker(
method SendStickerAsync (line 428) | public static Task<Message> SendStickerAsync(
method SendSticker (line 524) | public static Message SendSticker(
method SendStickerAsync (line 580) | public static Task<Message> SendStickerAsync(
FILE: src/library/Telegram.BotAPI/Stickers/setCustomEmojiStickerSetThumbnail.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method SetCustomEmojiStickerSetThumbnail (line 21) | public static bool SetCustomEmojiStickerSetThumbnail(
method SetCustomEmojiStickerSetThumbnailAsync (line 38) | public static Task<bool> SetCustomEmojiStickerSetThumbnailAsync(
FILE: src/library/Telegram.BotAPI/Stickers/setStickerEmojiList.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method SetStickerEmojiList (line 20) | public static bool SetStickerEmojiList(
method SetStickerEmojiListAsync (line 34) | public static Task<bool> SetStickerEmojiListAsync(
method SetStickerEmojiList (line 61) | public static bool SetStickerEmojiList(
method SetStickerEmojiListAsync (line 77) | public static Task<bool> SetStickerEmojiListAsync(
FILE: src/library/Telegram.BotAPI/Stickers/setStickerKeywords.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method SetStickerKeywords (line 20) | public static bool SetStickerKeywords(
method SetStickerKeywordsAsync (line 34) | public static Task<bool> SetStickerKeywordsAsync(
method SetStickerKeywords (line 61) | public static bool SetStickerKeywords(
method SetStickerKeywordsAsync (line 77) | public static Task<bool> SetStickerKeywordsAsync(
FILE: src/library/Telegram.BotAPI/Stickers/setStickerMaskPosition.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method SetStickerMaskPosition (line 20) | public static bool SetStickerMaskPosition(
method SetStickerMaskPositionAsync (line 34) | public static Task<bool> SetStickerMaskPositionAsync(
method SetStickerMaskPosition (line 61) | public static bool SetStickerMaskPosition(
method SetStickerMaskPositionAsync (line 77) | public static Task<bool> SetStickerMaskPositionAsync(
FILE: src/library/Telegram.BotAPI/Stickers/setStickerPositionInSet.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method SetStickerPositionInSet (line 21) | public static bool SetStickerPositionInSet(
method SetStickerPositionInSetAsync (line 37) | public static Task<bool> SetStickerPositionInSetAsync(
FILE: src/library/Telegram.BotAPI/Stickers/setStickerSetThumbnail.cs
class StickersExtensions (line 12) | public static partial class StickersExtensions
method SetStickerSetThumbnail (line 22) | public static bool SetStickerSetThumbnail(
method SetStickerSetThumbnailAsync (line 36) | public static Task<bool> SetStickerSetThumbnailAsync(
method SetStickerSetThumbnail (line 65) | public static bool SetStickerSetThumbnail(
method SetStickerSetThumbnailAsync (line 89) | public static Task<bool> SetStickerSetThumbnailAsync(
FILE: src/library/Telegram.BotAPI/Stickers/setStickerSetTitle.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method SetStickerSetTitle (line 21) | public static bool SetStickerSetTitle(
method SetStickerSetTitleAsync (line 37) | public static Task<bool> SetStickerSetTitleAsync(
FILE: src/library/Telegram.BotAPI/Stickers/uploadStickerFile.cs
class StickersExtensions (line 12) | public static partial class StickersExtensions
method UploadStickerFile (line 22) | public static File UploadStickerFile(
method UploadStickerFileAsync (line 36) | public static Task<File> UploadStickerFileAsync(
method UploadStickerFile (line 60) | public static File UploadStickerFile(
method UploadStickerFileAsync (line 78) | public static Task<File> UploadStickerFileAsync(
FILE: src/library/Telegram.BotAPI/Stickers/verifyChat.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method VerifyChat (line 21) | public static bool VerifyChat(
method VerifyChatAsync (line 37) | public static Task<bool> VerifyChatAsync(
method VerifyChat (line 67) | public static bool VerifyChat(
method VerifyChatAsync (line 83) | public static Task<bool> VerifyChatAsync(
FILE: src/library/Telegram.BotAPI/Stickers/verifyUser.cs
class StickersExtensions (line 10) | public static partial class StickersExtensions
method VerifyUser (line 21) | public static bool VerifyUser(
method VerifyUserAsync (line 37) | public static Task<bool> VerifyUserAsync(
FILE: src/library/Telegram.BotAPI/TelegramBotClient.API.cs
class TelegramBotClient (line 16) | public partial class TelegramBotClient : ITelegramBotClient
method CallApiMethodAndGetResultAsync (line 23) | private async Task<TResult?> CallApiMethodAndGetResultAsync<TResult>(
method CallApiMethodAsync (line 67) | private async Task<BotResponse<TReturn>> CallApiMethodAsync<TReturn>(
method CreateFormDataFromObject (line 152) | private static MultipartFormDataContent CreateFormDataFromObject(objec...
method ArgsHasFiles (line 244) | private static bool ArgsHasFiles(object args)
FILE: src/library/Telegram.BotAPI/TelegramBotClient.ITelegramBotClient.cs
class TelegramBotClient (line 6) | public partial class TelegramBotClient : ITelegramBotClient
method CallMethod (line 12) | public TResult CallMethod<TResult>(string method, object? args = null) =>
method CallMethodAsync (line 16) | public Task<TResult> CallMethodAsync<TResult>(
method CallMethodDirect (line 23) | public BotResponse<TReturn> CallMethodDirect<TReturn>(string method, o...
method CallMethodDirectAsync (line 27) | public Task<BotResponse<TReturn>> CallMethodDirectAsync<TReturn>(
FILE: src/library/Telegram.BotAPI/TelegramBotClient.cs
class TelegramBotClient (line 29) | public partial class TelegramBotClient(TelegramBotClientOptions options)...
method TelegramBotClient (line 40) | public TelegramBotClient(string botToken)
method TelegramBotClient (line 51) | [Obsolete("Specify the httpClient in the options instead")]
method TelegramBotClient (line 66) | [Obsolete("Specify the httpClient in the options instead")]
FILE: src/library/Telegram.BotAPI/TelegramBotClientOptions.cs
type TelegramBotClientOptions (line 12) | public record TelegramBotClientOptions
FILE: src/library/Telegram.BotAPI/TelegramConstants.cs
class TelegramConstants (line 9) | public static class TelegramConstants
FILE: src/library/Telegram.BotAPI/TelegramPassport/Args/SetPassportDataErrorsArgs.cs
class SetPassportDataErrorsArgs (line 10) | public class SetPassportDataErrorsArgs
method SetPassportDataErrorsArgs (line 17) | public SetPassportDataErrorsArgs(long userId, IEnumerable<PassportElem...
FILE: src/library/Telegram.BotAPI/TelegramPassport/EncryptedCredentials.cs
class EncryptedCredentials (line 10) | public class EncryptedCredentials
FILE: src/library/Telegram.BotAPI/TelegramPassport/EncryptedPassportElement.cs
class EncryptedPassportElement (line 10) | public class EncryptedPassportElement
FILE: src/library/Telegram.BotAPI/TelegramPassport/PassportData.cs
class PassportData (line 10) | public class PassportData
FILE: src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementError.cs
class PassportElementError (line 23) | [JsonConverter(typeof(PassportElementErrorConverter))]
FILE: src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorDataField.cs
class PassportElementErrorDataField (line 10) | public class PassportElementErrorDataField : PassportElementError
FILE: src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorFile.cs
class PassportElementErrorFile (line 10) | public class PassportElementErrorFile : PassportElementError
FILE: src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorFiles.cs
class PassportElementErrorFiles (line 10) | public class PassportElementErrorFiles : PassportElementError
FILE: src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorFrontSide.cs
class PassportElementErrorFrontSide (line 10) | public class PassportElementErrorFrontSide : PassportElementError
FILE: src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorReverseSide.cs
class PassportElementErrorReverseSide (line 10) | public class PassportElementErrorReverseSide : PassportElementError
FILE: src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorSelfie.cs
class PassportElementErrorSelfie (line 10) | public class PassportElementErrorSelfie : PassportElementError
FILE: src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorTranslationFile.cs
class PassportElementErrorTranslationFile (line 10) | public class PassportElementErrorTranslationFile : PassportElementError
FILE: src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorTranslationFiles.cs
class PassportElementErrorTranslationFiles (line 10) | public class PassportElementErrorTranslationFiles : PassportElementError
FILE: src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorUnspecified.cs
class PassportElementErrorUnspecified (line 10) | public class PassportElementErrorUnspecified : PassportElementError
FILE: src/library/Telegram.BotAPI/TelegramPassport/PassportFile.cs
class PassportFile (line 10) | public class PassportFile
FILE: src/library/Telegram.BotAPI/TelegramPassport/setPassportDataErrors.cs
class TelegramPassportExtensions (line 10) | public static partial class TelegramPassportExtensions
method SetPassportDataErrors (line 21) | public static bool SetPassportDataErrors(
method SetPassportDataErrorsAsync (line 36) | public static Task<bool> SetPassportDataErrorsAsync(
method SetPassportDataErrors (line 64) | public static bool SetPassportDataErrors(
method SetPassportDataErrorsAsync (line 81) | public static Task<bool> SetPassportDataErrorsAsync(
FILE: src/library/Telegram.BotAPI/UpdatingMessages/Args/DeleteBusinessMessagesArgs.cs
class DeleteBusinessMessagesArgs (line 10) | public class DeleteBusinessMessagesArgs
method DeleteBusinessMessagesArgs (line 17) | public DeleteBusinessMessagesArgs(string businessConnectionId, IEnumer...
FILE: src/library/Telegram.BotAPI/UpdatingMessages/Args/DeleteMessagesArgs.cs
class DeleteMessagesArgs (line 10) | public class DeleteMessagesArgs
method DeleteMessagesArgs (line 17) | public DeleteMessagesArgs(long chatId, IEnumerable<int> messageIds)
method DeleteMessagesArgs (line 28) | public DeleteMessagesArgs(string chatId, IEnumerable<int> messageIds)
FILE: src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageCaptionArgs.cs
class EditMessageCaptionArgs (line 12) | public class EditMessageCaptionArgs
FILE: src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageChecklistArgs.cs
class EditMessageChecklistArgs (line 12) | public class EditMessageChecklistArgs
method EditMessageChecklistArgs (line 21) | public EditMessageChecklistArgs(
method EditMessageChecklistArgs (line 42) | public EditMessageChecklistArgs(
FILE: src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageLiveLocationArgs.cs
class EditMessageLiveLocationArgs (line 12) | public class EditMessageLiveLocationArgs
method EditMessageLiveLocationArgs (line 19) | public EditMessageLiveLocationArgs(float latitude, float longitude)
FILE: src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageMediaArgs.cs
class EditMessageMediaArgs (line 12) | public cl
Condensed preview — 748 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (3,628K chars).
[
{
"path": ".gitattributes",
"chars": 66,
"preview": "# Auto detect text files and perform LF normalization\n* text=auto\n"
},
{
"path": ".github/workflows/build.yaml",
"chars": 602,
"preview": "name: Build & Test\n\non:\n push:\n branches:\n - main\n - dev\n pull_request:\n branches:\n - main\n "
},
{
"path": ".github/workflows/close-inactive-issues.yaml",
"chars": 689,
"preview": "# This workflow will close issues that have been inactive for 60 days\nname: Close inactive issues\non:\n schedule:\n - "
},
{
"path": ".github/workflows/publish.yaml",
"chars": 885,
"preview": "name: Publish\n\non:\n release:\n types: [published]\n workflow_dispatch:\n\njobs:\n publish:\n name: build, pack & publ"
},
{
"path": ".gitignore",
"chars": 116,
"preview": "# Ignore vscode editor files\n.vscode/*\n# Ignore all folders named publish\n**/publish/*\n# Nuget packages\nnuget.config"
},
{
"path": "LICENSE",
"chars": 1076,
"preview": "MIT License\n\nCopyright (c) 2020-2025 Quetzal Rivera\n\nPermission is hereby granted, free of charge, to any person obtaini"
},
{
"path": "README.md",
"chars": 9693,
"preview": "| <img src=\"./docs/icon.png\" alt=\"Logo\" width=\"64\"/> | <h1>Telegram.BotAPI</h1> |\n| ------------------------------------"
},
{
"path": "src/.editorconfig",
"chars": 7767,
"preview": "[*.cs]\ncsharp_indent_braces = false\ninsert_final_newline = true\ndotnet_diagnostic.ca1200.severity = suggestion\ndotnet_di"
},
{
"path": "src/.gitignore",
"chars": 6866,
"preview": "## Ignore Visual Studio temporary files, build results, and\n## files generated by popular Visual Studio add-ons.\n##\n## G"
},
{
"path": "src/Telegram.BotAPI.sln",
"chars": 2975,
"preview": "\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio Version 17\nVisualStudioVersion = 17.0.3201"
},
{
"path": "src/examples/.dockerignore",
"chars": 316,
"preview": "**/.classpath\n**/.dockerignore\n**/.env\n**/.git\n**/.gitignore\n**/.project\n**/.settings\n**/.toolstarget\n**/.vs\n**/.vscode\n"
},
{
"path": "src/examples/BotTemplate/BotTemplateSample.csproj",
"chars": 481,
"preview": "<Project Sdk=\"Microsoft.NET.Sdk\">\n\n <PropertyGroup>\n <OutputType>Exe</OutputType>\n <TargetFramework>net8.0</Targe"
},
{
"path": "src/examples/BotTemplate/MyBot.cs",
"chars": 3595,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/BotTemplate/Program.cs",
"chars": 874,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/BotTemplate/readme.md",
"chars": 4408,
"preview": "# Bot Templace - Sample\n\n## Description\n.NET Core console app\n\nThe bot sends \"Hello World!\" when it receives a message u"
},
{
"path": "src/examples/Callback query button 01/Callback query button 01.csproj",
"chars": 338,
"preview": "<Project Sdk=\"Microsoft.NET.Sdk\">\n\n <PropertyGroup>\n <OutputType>Exe</OutputType>\n <TargetFramework>net8.0</Targe"
},
{
"path": "src/examples/Callback query button 01/Program.cs",
"chars": 1954,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/Callback query button 01/readme.md",
"chars": 2889,
"preview": "# Callback query button - Sample 01\n\n## Description\n.NET Core console app\n\nCreate a button with the /callback command\nPr"
},
{
"path": "src/examples/Examples.sln",
"chars": 6819,
"preview": "\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio Version 17\nVisualStudioVersion = 17.2.3251"
},
{
"path": "src/examples/Hello World/Hello World.csproj",
"chars": 327,
"preview": "<Project Sdk=\"Microsoft.NET.Sdk\">\n\n <PropertyGroup>\n <OutputType>Exe</OutputType>\n <TargetFramework>net8.0</Targe"
},
{
"path": "src/examples/Hello World/Program.cs",
"chars": 982,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/Hello World/readme.md",
"chars": 1356,
"preview": "# Hello World - Sample\n\n## Description\n.NET Core console app\n\nThe bot sends \"Hello World!\" when it receives a message\n\n#"
},
{
"path": "src/examples/HelloBotNET.AppService/HelloBotNET.AppService.csproj",
"chars": 845,
"preview": "<Project Sdk=\"Microsoft.NET.Sdk.Worker\">\n\n <PropertyGroup>\n <TargetFramework>net8.0</TargetFramework>\n <Nullable>"
},
{
"path": "src/examples/HelloBotNET.AppService/Program.cs",
"chars": 528,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/examples/HelloBotNET.AppService/Properties/launchSettings.json",
"chars": 263,
"preview": "{\n \"profiles\": {\n \"HelloBotNET.AppService\": {\n \"commandName\": \"Project\",\n \"environmentVariables\": {\n "
},
{
"path": "src/examples/HelloBotNET.AppService/Properties/serviceDependencies.json",
"chars": 75,
"preview": "{\n \"dependencies\": {\n \"secrets1\": {\n \"type\": \"secrets\"\n }\n }\n}"
},
{
"path": "src/examples/HelloBotNET.AppService/Properties/serviceDependencies.local.json",
"chars": 80,
"preview": "{\n \"dependencies\": {\n \"secrets1\": {\n \"type\": \"secrets.user\"\n }\n }\n}"
},
{
"path": "src/examples/HelloBotNET.AppService/Services/HelloBot.CommandHandler.cs",
"chars": 1409,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/HelloBotNET.AppService/Services/HelloBot.ErrorHandler.cs",
"chars": 702,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/HelloBotNET.AppService/Services/HelloBot.MessageHandler.cs",
"chars": 1009,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/HelloBotNET.AppService/Services/HelloBot.UpdateHandler.cs",
"chars": 756,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/HelloBotNET.AppService/Services/HelloBot.cs",
"chars": 1115,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/HelloBotNET.AppService/Worker.cs",
"chars": 1587,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/examples/HelloBotNET.AppService/appsettings.Development.json",
"chars": 129,
"preview": "{\n \"Logging\": {\n \"LogLevel\": {\n \"Default\": \"Information\",\n \"Microsoft.Hosting.Lifetime\": \"Information\"\n "
},
{
"path": "src/examples/HelloBotNET.AppService/appsettings.json",
"chars": 129,
"preview": "{\n \"Logging\": {\n \"LogLevel\": {\n \"Default\": \"Information\",\n \"Microsoft.Hosting.Lifetime\": \"Information\"\n "
},
{
"path": "src/examples/HelloBotNET.AppService/readme.md",
"chars": 784,
"preview": "# HelloBotNET\n\nThis is a Hello World telegram bot made with NET 6 using Long Polling.\n\n## How to Run\n\nYou just need to s"
},
{
"path": "src/examples/HelloBotNET.Webhook/Controllers/BotController.cs",
"chars": 1416,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/HelloBotNET.Webhook/Extensions/ApplicationBuilderExtensions.cs",
"chars": 1789,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/HelloBotNET.Webhook/HelloBotNET.Webhook.csproj",
"chars": 548,
"preview": "<Project Sdk=\"Microsoft.NET.Sdk.Web\">\n\n\t<PropertyGroup>\n\t\t<TargetFramework>net8.0</TargetFramework>\n\t\t<Nullable>enable</"
},
{
"path": "src/examples/HelloBotNET.Webhook/Program.cs",
"chars": 538,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/examples/HelloBotNET.Webhook/Properties/launchSettings.json",
"chars": 540,
"preview": "{\n \"$schema\": \"http://json.schemastore.org/launchsettings.json\",\n \"iisSettings\": {\n \"windowsAuthentication\": false"
},
{
"path": "src/examples/HelloBotNET.Webhook/Services/HelloBot.CommandHandler.cs",
"chars": 1434,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/HelloBotNET.Webhook/Services/HelloBot.ErrorHandler.cs",
"chars": 699,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/HelloBotNET.Webhook/Services/HelloBot.MessageHandler.cs",
"chars": 1006,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/HelloBotNET.Webhook/Services/HelloBot.UpdateHandler.cs",
"chars": 761,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/HelloBotNET.Webhook/Services/HelloBot.cs",
"chars": 1116,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/HelloBotNET.Webhook/appsettings.Development.json",
"chars": 159,
"preview": "{\n \"Logging\": {\n \"LogLevel\": {\n \"Default\": \"Information\",\n \"Microsoft\": \"Warning\",\n \"Microsoft.Hostin"
},
{
"path": "src/examples/HelloBotNET.Webhook/appsettings.json",
"chars": 182,
"preview": "{\n \"Logging\": {\n \"LogLevel\": {\n \"Default\": \"Information\",\n \"Microsoft\": \"Warning\",\n \"Microsoft.Hostin"
},
{
"path": "src/examples/HelloBotNET.Webhook/readme.md",
"chars": 1379,
"preview": "# HelloBotNET\n\nThis is a Hello World telegram bot made with NET 6 using a webhook.\n\n## How to Run\n\nIf you want to run th"
},
{
"path": "src/examples/Poll Quiz 01/Poll Quiz 01.csproj",
"chars": 329,
"preview": "<Project Sdk=\"Microsoft.NET.Sdk\">\n\n <PropertyGroup>\n <OutputType>Exe</OutputType>\n <TargetFramework>net8.0</Targe"
},
{
"path": "src/examples/Poll Quiz 01/Program.cs",
"chars": 1460,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license in"
},
{
"path": "src/examples/Poll Quiz 01/readme.md",
"chars": 1994,
"preview": "# Poll Quiz - Sample 01\n\n## Description\n.NET Core console app\n\nCreate a quiz from the new polls 2.0\n\n## Preview\n 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/Abstractions/ITelegramBotClient.cs",
"chars": 4709,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/Abstractions/SendAttachedFilesArgsBase.cs",
"chars": 528,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/AnswerCallbackQueryArgs.cs",
"chars": 2409,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/AnswerGuestQueryArgs.cs",
"chars": 1365,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/AnswerWebAppQueryArgs.cs",
"chars": 1388,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/CopyMessageArgs.cs",
"chars": 8625,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/CopyMessagesArgs.cs",
"chars": 6522,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/CreateChatInviteLinkArgs.cs",
"chars": 2306,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/DeleteBusinessMessagesArgs.cs",
"chars": 1886,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/DeleteMyCommandsArgs.cs",
"chars": 980,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/EditChatInviteLinkArgs.cs",
"chars": 2810,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/EditStoryArgs.cs",
"chars": 2646,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/ForwardMessageArgs.cs",
"chars": 6350,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/ForwardMessagesArgs.cs",
"chars": 6376,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/GetBusinessAccountGiftsArgs.cs",
"chars": 3441,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/GetChatGiftsArgs.cs",
"chars": 3966,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/GetMyCommandsArgs.cs",
"chars": 835,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/GetUserGiftsArgs.cs",
"chars": 2754,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/GiftPremiumSubscriptionArgs.cs",
"chars": 2980,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/PostStoryArgs.cs",
"chars": 3369,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/PromoteChatMemberArgs.cs",
"chars": 6371,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/RepostStoryArgs.cs",
"chars": 2754,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/RestrictChatMemberArgs.cs",
"chars": 3435,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SavePreparedInlineMessageArgs.cs",
"chars": 2224,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SavePreparedKeyboardButtonArgs.cs",
"chars": 1556,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendAnimationArgs.cs",
"chars": 10307,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendAudioArgs.cs",
"chars": 9637,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendChecklistArgs.cs",
"chars": 3987,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendContactArgs.cs",
"chars": 5945,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendDiceArgs.cs",
"chars": 4845,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendDocumentArgs.cs",
"chars": 9521,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendGiftArgs.cs",
"chars": 2761,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendLivePhotoArgs.cs",
"chars": 17079,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendLocationArgs.cs",
"chars": 6458,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendMediaGroupArgs.cs",
"chars": 9364,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendMessageArgs.cs",
"chars": 5900,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendMessageDraftArgs.cs",
"chars": 2332,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendPaidMediaArgs.cs",
"chars": 7301,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendPhotoArgs.cs",
"chars": 9607,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendPollArgs.cs",
"chars": 11539,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendVenueArgs.cs",
"chars": 7157,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendVideoArgs.cs",
"chars": 11004,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendVideoNoteArgs.cs",
"chars": 8754,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SendVoiceArgs.cs",
"chars": 8569,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SetBusinessAccountGiftSettingsArgs.cs",
"chars": 2102,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SetBusinessAccountProfilePhotoArgs.cs",
"chars": 1765,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SetChatMenuButtonArgs.cs",
"chars": 882,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SetChatPermissionsArgs.cs",
"chars": 2726,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SetChatPhotoArgs.cs",
"chars": 1937,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SetManagedBotAccessSettingsArgs.cs",
"chars": 1726,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SetMessageReactionArgs.cs",
"chars": 2875,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SetMyCommandsArgs.cs",
"chars": 1691,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SetMyDefaultAdministratorRightsArgs.cs",
"chars": 1041,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/Args/SetMyProfilePhotoArgs.cs",
"chars": 931,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/answerCallbackQuery.cs",
"chars": 8012,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/answerGuestQuery.cs",
"chars": 4919,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/answerWebAppQuery.cs",
"chars": 5613,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/approveChatJoinRequest.cs",
"chars": 5539,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/banChatMember.cs",
"chars": 9481,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/banChatSenderChat.cs",
"chars": 6455,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/close.cs",
"chars": 2457,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/closeForumTopic.cs",
"chars": 5885,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/closeGeneralForumTopic.cs",
"chars": 5130,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/convertGiftToStars.cs",
"chars": 3134,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/copyMessage.cs",
"chars": 55236,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/copyMessages.cs",
"chars": 33861,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/createChatInviteLink.cs",
"chars": 12121,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/createChatSubscriptionInviteLink.cs",
"chars": 9686,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/createForumTopic.cs",
"chars": 9042,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/declineChatJoinRequest.cs",
"chars": 5539,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/deleteBusinessMessages.cs",
"chars": 6109,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/deleteChatPhoto.cs",
"chars": 4934,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/deleteChatStickerSet.cs",
"chars": 5730,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/deleteForumTopic.cs",
"chars": 6113,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/deleteMyCommands.cs",
"chars": 5719,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/deleteStory.cs",
"chars": 2904,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/editChatInviteLink.cs",
"chars": 12304,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/editChatSubscriptionInviteLink.cs",
"chars": 6626,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/editForumTopic.cs",
"chars": 9039,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/editGeneralForumTopic.cs",
"chars": 5757,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/editStory.cs",
"chars": 7315,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/exportChatInviteLink.cs",
"chars": 5310,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/forwardMessage.cs",
"chars": 31838,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/forwardMessages.cs",
"chars": 28529,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getAvailableGifts.cs",
"chars": 2117,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getBusinessAccountGifts.cs",
"chars": 10189,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getBusinessAccountStarBalance.cs",
"chars": 2832,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getBusinessConnection.cs",
"chars": 2760,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getChat.cs",
"chars": 4561,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getChatAdministrators.cs",
"chars": 5975,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getChatGifts.cs",
"chars": 17753,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getChatMember.cs",
"chars": 5614,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getChatMemberCount.cs",
"chars": 4440,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getChatMenuButton.cs",
"chars": 2681,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getFile.cs",
"chars": 3274,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getForumTopicIconStickers.cs",
"chars": 2248,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getManagedBotAccessSettings.cs",
"chars": 2515,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getManagedBotToken.cs",
"chars": 2329,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getMe.cs",
"chars": 2108,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getMyCommands.cs",
"chars": 5319,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getMyDefaultAdministratorRights.cs",
"chars": 2902,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getMyDescription.cs",
"chars": 2579,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getMyName.cs",
"chars": 2442,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getMyShortDescription.cs",
"chars": 2636,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getUserChatBoosts.cs",
"chars": 5342,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getUserGifts.cs",
"chars": 8441,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getUserPersonalChatMessages.cs",
"chars": 2888,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getUserProfileAudios.cs",
"chars": 3239,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/getUserProfilePhotos.cs",
"chars": 3243,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/giftPremiumSubscription.cs",
"chars": 7503,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/hideGeneralForumTopic.cs",
"chars": 5322,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/leaveChat.cs",
"chars": 4794,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/logOut.cs",
"chars": 2615,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/pinChatMessage.cs",
"chars": 8619,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/postStory.cs",
"chars": 8450,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/promoteChatMember.cs",
"chars": 27899,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/readBusinessMessage.cs",
"chars": 3497,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/removeBusinessAccountProfilePhoto.cs",
"chars": 3530,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/removeChatVerification.cs",
"chars": 5046,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/removeMyProfilePhoto.cs",
"chars": 1991,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/removeUserVerification.cs",
"chars": 2513,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/reopenForumTopic.cs",
"chars": 5901,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/reopenGeneralForumTopic.cs",
"chars": 5382,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/replaceManagedBotToken.cs",
"chars": 2421,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/repostStory.cs",
"chars": 7574,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/restrictChatMember.cs",
"chars": 13326,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/revokeChatInviteLink.cs",
"chars": 6272,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/savePreparedInlineMessage.cs",
"chars": 6919,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/savePreparedKeyboardButton.cs",
"chars": 5166,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/sendAnimation.cs",
"chars": 64500,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/sendAudio.cs",
"chars": 61468,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/sendChatAction.cs",
"chars": 12647,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/sendChecklist.cs",
"chars": 13671,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/sendContact.cs",
"chars": 22905,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
},
{
"path": "src/library/Telegram.BotAPI/AvailableMethods/sendDice.cs",
"chars": 21332,
"preview": "// Copyright (c) 2026 Quetzal Rivera.\n// Licensed under the MIT License, See LICENCE in the project root for license inf"
}
]
// ... and 548 more files (download for full content)
About this extraction
This page contains the full source code of the Eptagone/Telegram.BotAPI GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 748 files (3.3 MB), approximately 908.9k tokens, and a symbol index with 1912 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.