C# Class OTHub.APIServer.Controllers.TelegramController

Inheritance: Controller
Mostrar archivo Open project: lukeskinner/OTHub

Public Methods

Method Description
TelegramController ( TelegramBot bot, IMemoryCache cache ) : System

Private Methods

Method Description
GetSettings ( ) : Task
LinkAccount ( TelegramAccount account ) : Task
SendTestMessage ( ) : Task
UpdateJobWonEnabled ( bool value ) : Task
UpdateLowAvailableTokensAmount ( long value ) : Task
UpdateLowAvailableTokensEnabled ( bool value ) : Task
UpdateNotificationsEnabled ( bool value ) : Task

Method Details

TelegramController() public method

public TelegramController ( TelegramBot bot, IMemoryCache cache ) : System
bot TelegramBot
cache IMemoryCache
return System