Documentation
¶
Index ¶
- type Action
- type AddChatItemAction
- type ChannelInfo
- type ChannelInfos
- type Comment
- type Continuation
- type ContinuationContents
- type Emoji
- type InvalidationContinuationData
- type Item
- type Like
- type LiveChat
- type LiveChatContinuation
- type LiveChatMessage
- type LiveChatPaidMessageRenderer
- type LiveChatResponse
- type LiveChatTextMessageRenderer
- type Matches
- type Message
- type PUBGItem
- type PUBGRecord
- type Participant
- type Response
- type Run
- type TimedContinuationData
- type Title
- type Tweet
- type TwitterUser
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
AddChatItemAction AddChatItemAction `json:"addChatItemAction"`
}
Action autogen
type AddChatItemAction ¶
type AddChatItemAction struct {
Item Item `json:"item"`
}
AddChatItemAction autogen
type ChannelInfo ¶
type ChannelInfo struct { ChID string `json:"ch_id"` ChType int64 `json:"ch_type"` Title string `json:"title"` Name string `json:"name"` // contains filtered or unexported fields }
ChannelInfo autogen
type ChannelInfos ¶
type ChannelInfos struct {
ChannelInfo []ChannelInfo `json:"current_live"`
}
ChannelInfos autogen
type Comment ¶
type Comment struct { AuthorName string `json:"author_name"` Purchase string `json:"purchase"` Message string `json:"message"` AuthorID string `json:"author_id"` Timestamp string `json:"timestamp"` }
Comment autogen
type Continuation ¶
type Continuation struct { TimedContinuationData *TimedContinuationData `json:"timedContinuationData"` InvalidationContinuationData *InvalidationContinuationData `json:"invalidationContinuationData"` }
Continuation autogen
type ContinuationContents ¶
type ContinuationContents struct {
LiveChatContinuation LiveChatContinuation `json:"liveChatContinuation"`
}
ContinuationContents autogen
type InvalidationContinuationData ¶
type InvalidationContinuationData struct {
Continuation string `json:"continuation"`
}
InvalidationContinuationData autogen
type Item ¶
type Item struct { LiveChatTextMessageRenderer *LiveChatTextMessageRenderer `json:"liveChatTextMessageRenderer,omitempty"` LiveChatPaidMessageRenderer *LiveChatPaidMessageRenderer `json:"liveChatPaidMessageRenderer,omitempty"` }
Item autogen
type Like ¶
type Like struct { ID int64 `json:"id"` Text string `json:"text"` User TwitterUser `json:"user"` }
Like 一条喜欢
type LiveChatContinuation ¶
type LiveChatContinuation struct { Continuations []Continuation `json:"continuations"` Actions []Action `json:"actions"` }
LiveChatContinuation autogen
type LiveChatMessage ¶
type LiveChatMessage struct { Sender string `json:"sender"` Message string `json:"message"` Purchase string `json:"purchase"` }
LiveChatMessage autogen
type LiveChatPaidMessageRenderer ¶
type LiveChatPaidMessageRenderer struct { AuthorName Title `json:"authorName"` PurchaseAmountText Title `json:"purchaseAmountText"` Message Message `json:"message"` ID string `json:"authorExternalChannelId"` TimestampUsec string `json:"timestampUsec"` }
LiveChatPaidMessageRenderer autogen
type LiveChatResponse ¶
type LiveChatResponse struct { Continuation string `json:"continuation"` Messages []LiveChatMessage `json:"messages"` }
LiveChatResponse autogen
type LiveChatTextMessageRenderer ¶
type LiveChatTextMessageRenderer struct { Message Message `json:"message"` AuthorName Title `json:"authorName"` ID string `json:"authorExternalChannelId"` TimestampUsec string `json:"timestampUsec"` }
LiveChatTextMessageRenderer autogen
type PUBGItem ¶
type PUBGItem struct { MatchID string `json:"match_id"` StartedAt string `json:"started_at"` UpdatedAt string `json:"updated_at"` Participant Participant `json:"participant"` }
PUBGItem autogen
type Response ¶
type Response struct {
ContinuationContents ContinuationContents `json:"continuationContents"`
}
Response autogen
type TimedContinuationData ¶
type TimedContinuationData struct {
Continuation string `json:"continuation"`
}
TimedContinuationData autogen
Click to show internal directories.
Click to hide internal directories.