Create program.cs
Browse files- program.cs +4 -0
program.cs
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
using Telegram.Bot;
|
2 |
+
var bot = new TelegramBotClient("7728880427:AAFOnNdOpFw9imBxkwtVnZKET-cbcjJVYIM");
|
3 |
+
var me = await bot.GetMeAsync();
|
4 |
+
Console.WriteLine($"Hello, World! I am user {me.Id} and my name is {me.FirstName}.");
|