C# Class NuBot.Adapters.Gitter.GitterAdapter

Inheritance: Adapter
Afficher le fichier Open project: nubot/nubot Class Usage Examples

Méthodes publiques

Méthode Description
GitterAdapter ( string token ) : NuBot.Adapters.Gitter.Models
RunAsync ( CancellationToken cancellationToken ) : Task
SendAsync ( string channel, string message ) : Task
SetupAsync ( ) : Task

Private Methods

Méthode Description
GetRoomsAsync ( string userId ) : Task>
GetUserAsync ( ) : Task
ReadRoomEventsAsync ( string roomId, CancellationToken cancellationToken ) : Task

Method Details

GitterAdapter() public méthode

public GitterAdapter ( string token ) : NuBot.Adapters.Gitter.Models
token string
Résultat NuBot.Adapters.Gitter.Models

RunAsync() public méthode

public RunAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
Résultat Task

SendAsync() public méthode

public SendAsync ( string channel, string message ) : Task
channel string
message string
Résultat Task

SetupAsync() public méthode

public SetupAsync ( ) : Task
Résultat Task