Turnir::Client::NuumPolling
Constants
CHAT_URL = "https://nuum.ru/api/v3/chats?contentType={{type}}&contentId={{id}}"
EVENTS_URL = "https://nuum.ru/api/v3/events/{{chat_id}}/events"
HEADERS = HTTP::Headers {"Origin" => "https://nuum.ru", "Accept" => "application/json", "Content-Type" => "application/json"}
PUBLIC_CHANNEL_URL = "https://nuum.ru/api/v2/broadcasts/public?channel_name={{channel}}"
Instance methods
start(sync_channel : Channel(Nil), storage : Turnir::ChatStorage::Storage, channels_map : Hash(String, String))
Sourcestop
Source