Tests[SendWithTimestamp, SendInvalidTimestamp]

This commit is contained in:
2022-11-30 22:29:12 +01:00
parent e0ecd4d9ff
commit 7eab74e65c
8 changed files with 209 additions and 10 deletions

View File

@@ -102,6 +102,10 @@ func (u User) MaxUserMessageID() int {
return 64
}
func (u User) MaxTimestampDiffHours() int {
return 24
}
type UserJSON struct {
UserID UserID `json:"user_id"`
Username *string `json:"username"`