chirpnest/def.go

27 lines
642 B
Go
Raw Normal View History

2019-05-06 04:54:24 +02:00
package main
type ChatWarsMessage struct {
2019-05-06 05:59:19 +02:00
UserID64 int64 `json:"user_id"`
2019-05-06 04:54:24 +02:00
SenderUserID64 int64 `json:"sender_user_id"`
Date int32 `json:"date"`
ID64 int64 `json:"id"`
ChatID64 int64 `json:"chat_id"`
Text string `json:"text"`
}
2019-05-06 05:59:19 +02:00
const (
objTypeUser = 1
objTypeGuild = 2
objTypeMessage = 3
objSubTypeMessageUnprocess = 1
objSubTypeMessageUnknown = 2
objSubTypeMessageReport = 3
objSubTypeMessageGReport = 4
objSubTypeMessageQuest = 5
objSubTypeMessageFight = 6
objSubTypeMessageHero = 7
objSubTypeMessageMe = 8
objSubTypeMessageInventory = 9
)