C# Class NuBot.Adapters.Gitter.GitterAdapter

Inheritance: Adapter
Show file Open project: nubot/nubot Class Usage Examples

Public Methods

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

Private Methods

Method Description
GetRoomsAsync ( string userId ) : Task>
GetUserAsync ( ) : Task
ReadRoomEventsAsync ( string roomId, CancellationToken cancellationToken ) : Task

Method Details

GitterAdapter() public method

public GitterAdapter ( string token ) : NuBot.Adapters.Gitter.Models
token string
return NuBot.Adapters.Gitter.Models

RunAsync() public method

public RunAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
return Task

SendAsync() public method

public SendAsync ( string channel, string message ) : Task
channel string
message string
return Task

SetupAsync() public method

public SetupAsync ( ) : Task
return Task