module Turnir::Client

Extended Modules

Defined in:

turnir/client/client.cr
turnir/client/vk_client.cr

Constant Summary

CLIENTS = {ClientType::VK => Client.new(ClientType::VK, Turnir::Client::VkWebsocket), ClientType::TWITCH => Client.new(ClientType::TWITCH, Turnir::Client::TwitchWebsocket), ClientType::NUUM => Client.new(ClientType::NUUM, Turnir::Client::NuumPolling), ClientType::GOODGAME => Client.new(ClientType::GOODGAME, Turnir::Client::GoodgameWebsocket)}

Instance Method Summary

Instance Method Detail

def clear_messages(client_type : ClientType) #

[View source]
def client_auto_stopper #

[View source]
def ensure_client_running(client_type : ClientType) #

[View source]
def get_messages(client_type : ClientType, channel : String, since : Int32, text_filter : String) #

[View source]
def subscribe_to_channel(client_type : ClientType, channel_name : String) #

[View source]