-
Notifications
You must be signed in to change notification settings - Fork 0
#1 Quick Start
Quickly create a basic flamingo project
Flamingo has a simple templates package that helps you create a simple and also advanced telegram bot project based on Flamingo!
Come on install Flamingo template from Nuget!
After installing this, all that you have to do is to pick a folder, open a terminal and type following command:
dotnet new quick-flamingo
(You will be asked if you want to install latest Flamingo version for project, that is required! and you may type Y to confirm that. but if you did N, then you should install Flamingo later)
If you're using Visual Studio 19+ you can find Flamingo Templates under c# and console categories
If you can't find Flamingo reference in .csproj file, install it manually ( From nuget package manager or terminal )
<ItemGroup>
<PackageReference Include="Flamingo" Version="1.3.2" />
</ItemGroup>dotnet add package Flamingo
Put your bot token in Program.cs and run the app then send command /start to the bot!
- Read more about Advanced incoming handlers