mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-07-30 16:21:07 +02:00
v0.2
- 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
This commit is contained in:
parent
f80a6e50b1
commit
9c64a3e4b5
8 changed files with 172 additions and 28 deletions
|
@ -1,9 +1,17 @@
|
|||
package steam
|
||||
|
||||
type CommentResponse struct {
|
||||
type CommentsPage struct {
|
||||
Success bool `json:"success"`
|
||||
Start int `json:"start"`
|
||||
TotalCount int `json:"total_count"`
|
||||
CommentsHTML string `json:"comments_html"`
|
||||
Timelastpost int `json:"timelastpost"`
|
||||
TimeLastPost int64 `json:"timelastpost"`
|
||||
}
|
||||
|
||||
type Comment struct {
|
||||
ID uint64
|
||||
Timestamp int64
|
||||
Author string
|
||||
AuthorProfileURL string
|
||||
Text string
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue