Skip to content

Commit 3c4c585

Browse files
committed
updated README
1 parent 74a8721 commit 3c4c585

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ This repository contains sample applications based on [Telegram.Bot](https://git
1313
- [Advanced console application](https://github.com/TelegramBots/Telegram.Bot.Examples/tree/master/Console.Advanced). Demonstrates bot with advanced .NET programming features.
1414
- [ASP.NET Core Webhook application](https://github.com/TelegramBots/Telegram.Bot.Examples/tree/master/Webhook.MinimalAPIs) with Minimal APIs.
1515
- [ASP.NET Core Webhook application](https://github.com/TelegramBots/Telegram.Bot.Examples/tree/master/Webhook.Controllers) with Controllers.
16+
- [Inline Queries](https://github.com/TelegramBots/Telegram.Bot.Examples/tree/master/InlineQueries) demo implementing [bot inline mode](https://core.telegram.org/bots/inline).
17+
- [Mini-App](https://github.com/TelegramBots/Telegram.Bot.Examples/tree/master/MiniApp) : ASP.NET Core Razor pages implementing a [Telegram integrated WebApp](https://core.telegram.org/bots/webapps).
18+
Includes a clone of @DurgerKingBot
19+
20+
### Other examples projects
21+
- [F# Example](https://github.com/TelegramBots/Telegram.Bot.Examples/tree/master/FSharp.Example) bot
22+
- Serverless (Cloud scalable) examples:
23+
- [AWS Lambda](https://github.com/TelegramBots/Telegram.Bot.Examples/tree/master/Serverless/AwsLambda.Webhook)
24+
- [Azure Functions](https://github.com/TelegramBots/Telegram.Bot.Examples/tree/master/Serverless/AzureFunctions.Webhook) In-process, or as [Isolated Worker](https://github.com/TelegramBots/Telegram.Bot.Examples/tree/master/Serverless/AzureFunctions.IsolatedProcess.Webhook)
1625

1726
### Community projects
1827

Serverless/AzureFunctions.IsolatedProcess.Webhook/AzureFunctions.IsolatedProcess.Webhook.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>net8.0</TargetFramework>
4-
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
54
<OutputType>Exe</OutputType>
6-
<ImplicitUsings>enable</ImplicitUsings>
75
<Nullable>enable</Nullable>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
88
</PropertyGroup>
99
<ItemGroup>
1010
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.20.0" />

Serverless/AzureFunctions.Webhook/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ Now your bot should answer with the text from every message you send to it.
4343

4444

4545
## Deploy
46+
47+
### Visual Studio
4648
Some information is taken from the [official documentation](https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-your-first-function-visual-studio).
4749

4850
1. In Solution Explorer, right-click the project and select Publish
@@ -51,6 +53,6 @@ Some information is taken from the [official documentation](https://docs.microso
5153
4. In Function Instance, select Create a new Azure Function and then use the values specified
5254
5. Select Finish, and on the Publish page, select Publish to deploy the package containing your project files to your new function app in Azure.
5355
6. Open your function on https://portal.azure.com/
54-
7. Select tab **Configuration** and **Add new application setting**, where you enter Name: token, Value: <BotToken> and save updates.
56+
7. Select tab **Configuration** and **Add new application setting**, where you enter Name: token, Value: `<BotToken>` and save updates.
5557

5658
<br /> **Don't forget to update yours Webhook**

0 commit comments

Comments
 (0)