C# Class SanderVantEinde.TelegramBot.TelegramBot

Inheritance: ReplyFactory
Afficher le fichier Open project: sandervanteinde/TelegramBot Class Usage Examples

Private Properties

Свойство Type Description
CheckDir void
CheckUpdate Task
GetBot void
GetUpdates Task>
Print void
Run Task
SetupURLs void

Méthodes publiques

Méthode Description
AddQueuedMessage ( Task task ) : void
LoggingPathForDate ( ) : string
LoggingPathForDate ( System.DateTime date ) : string
PrintError ( string msg ) : void
PrintNotification ( string msg ) : void
PrintSuccess ( string msg ) : void
PrintWarning ( string msg ) : void
Start ( ) : void
Stop ( ) : void
TelegramBot ( string apikey ) : Newtonsoft.Json

Private Methods

Méthode Description
CheckDir ( ) : void
CheckUpdate ( ) : Task
GetBot ( ) : void
GetUpdates ( ) : Task>
Print ( object msg, ConsoleColor color = ConsoleColor.White ) : void
Run ( ) : Task
SetupURLs ( string apikey ) : void

Method Details

AddQueuedMessage() public méthode

public AddQueuedMessage ( Task task ) : void
task Task
Résultat void

LoggingPathForDate() public méthode

public LoggingPathForDate ( ) : string
Résultat string

LoggingPathForDate() public méthode

public LoggingPathForDate ( System.DateTime date ) : string
date System.DateTime
Résultat string

PrintError() public méthode

public PrintError ( string msg ) : void
msg string
Résultat void

PrintNotification() public méthode

public PrintNotification ( string msg ) : void
msg string
Résultat void

PrintSuccess() public méthode

public PrintSuccess ( string msg ) : void
msg string
Résultat void

PrintWarning() public méthode

public PrintWarning ( string msg ) : void
msg string
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

TelegramBot() public méthode

public TelegramBot ( string apikey ) : Newtonsoft.Json
apikey string
Résultat Newtonsoft.Json