27 lines
642 B
Go
27 lines
642 B
Go
package main
|
|
|
|
type ChatWarsMessage struct {
|
|
UserID64 int64 `json:"user_id"`
|
|
SenderUserID64 int64 `json:"sender_user_id"`
|
|
Date int32 `json:"date"`
|
|
ID64 int64 `json:"id"`
|
|
ChatID64 int64 `json:"chat_id"`
|
|
Text string `json:"text"`
|
|
}
|
|
|
|
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
|
|
)
|