C# Class Rocket.Chat.Net.Example.GiphyResponse

Inheritance: IBotResponse
Afficher le fichier Open project: RocketChat/Rocket.Chat.Net Class Usage Examples

Méthodes publiques

Méthode Description
CanRespond ( ResponseContext context ) : bool
GetResponse ( ResponseContext context, RocketChatBot caller ) : IEnumerable

Private Methods

Méthode Description
GetGiphy ( string search ) : string

Method Details

CanRespond() public méthode

public CanRespond ( ResponseContext context ) : bool
context Rocket.Chat.Net.Bot.Models.ResponseContext
Résultat bool

GetResponse() public méthode

public GetResponse ( ResponseContext context, RocketChatBot caller ) : IEnumerable
context Rocket.Chat.Net.Bot.Models.ResponseContext
caller RocketChatBot
Résultat IEnumerable