#1460 #865 working on the auto updater

This commit is contained in:
Jamie.Rees 2017-08-31 10:57:16 +01:00
parent ff242f2531
commit f60d133f41
11 changed files with 77 additions and 39 deletions

View file

@ -0,0 +1,21 @@
using System;
using System.Threading.Tasks;
using Telegram.Bot;
using Telegram.Bot.Types;
namespace Ombi.Api.Telegram
{
public class TelegramApi
{
//https://core.telegram.org/bots/api
//https://github.com/TelegramBots/telegram.bot
public async Task Send()
{
var botClient = new TelegramBotClient("422833810:AAEztVaoaSIeoXI3l9-rECKlSKJZtpFuMAU");
var me = await botClient.GetMeAsync();
await botClient.SendTextMessageAsync(new ChatId("@Ombi"), "Test");
}
}
}