mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-04-20 00:11:23 +02:00
- Include comment text in notification - Include commenter in notification - Use Timestamp to check if a comment is new - Set sleep interval between requests in env variable
17 lines
396 B
Go
17 lines
396 B
Go
package steam
|
|
|
|
type CommentsPage struct {
|
|
Success bool `json:"success"`
|
|
Start int `json:"start"`
|
|
TotalCount int `json:"total_count"`
|
|
CommentsHTML string `json:"comments_html"`
|
|
TimeLastPost int64 `json:"timelastpost"`
|
|
}
|
|
|
|
type Comment struct {
|
|
ID uint64
|
|
Timestamp int64
|
|
Author string
|
|
AuthorProfileURL string
|
|
Text string
|
|
}
|