-
Notifications
You must be signed in to change notification settings - Fork 2
Описание полей объекта канала
RandomInteger int RandomIntegerIsMinimal bool RandomIntegerIsMaximal bool RandomIngegerIsZero bool RandomString string IsMod bool IsSub bool CommandBody string CommandBodyIsEmpty bool
В этих полях лежат данные, которые форматируются перед выдачей в шаблон, других особенностей не имеют, используются так же GetCommands GetGamesHistory GetStreamDuration
type VkGroupInfo struct {
GroupName string json:"groupName"
NotifyOnChange bool json:"notifyOnChange"
LastMessageID int json:"lastMessageID"
LastMessageURL string json:"lastMessageURL"
LastMessageBody string json:"lastMessageBody"
LastMessageDate string json:"lastMessageDate"
}
type TwitchDJ struct {
ID string json:"id"
Playing bool json:"playing"
Track string json:"track"
NotifyOnChange bool json:"notifyOnChange"
}
type StreamStatus struct {
Online bool
Game string bson:",omitempty"
Title string bson:",omitempty"
Start time.Time bson:",omitempty"
LastOnlineTime time.Time bson:",omitempty"
Viewers int bson:",omitempty"
GamesHistory GamesHistory bson:",omitempty"
}