-
Notifications
You must be signed in to change notification settings - Fork 1
/
words.go
44 lines (37 loc) · 1.31 KB
/
words.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package tgstat_go
type WordsMentionsResponseItem struct {
Period string `json:"period"`
MentionsCount int `json:"mentions_count"`
ViewsCount int `json:"views_count"`
}
type WordsMentionsResponse struct {
Items []WordsMentionsResponseItem `json:"items"`
}
type WordsMentions struct {
Status string `json:"status"`
Response WordsMentionsResponse `json:"response"`
}
type WordsMentionsByChannelItem struct {
ChannelID int `json:"channel_id"`
MentionsCount int `json:"mentions_count"`
ViewsCount int `json:"views_count"`
LastMentionDate int `json:"last_mention_date"`
}
type WordsMentionsByChannelChannel struct {
ID int `json:"id"`
Link string `json:"link"`
Username string `json:"username"`
Title string `json:"title"`
About string `json:"about"`
Image100 string `json:"image100"`
Image640 string `json:"image640"`
ParticipantsCount int `json:"participants_count"`
}
type WordsMentionsByChannelResponse struct {
Items []WordsMentionsByChannelItem `json:"items"`
Channels []WordsMentionsByChannelChannel `json:"channels"`
}
type WordsMentionsByChannel struct {
Status string `json:"status"`
Response WordsMentionsByChannelResponse `json:"response"`
}