Skip to content

#1 Quick Start

MohammadReza edited this page Jul 21, 2021 · 5 revisions

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!

FlamingoTemplates

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>

To install Flamingo:

dotnet add package Flamingo

Put your bot token in Program.cs and run the app then send command /start to the bot!

What’s Next?

Flamingo Framework written in pure c#, install from Nuget

Clone this wiki locally