direction
This commit is contained in:
parent
6621887364
commit
efc5b70c42
14
main.go
14
main.go
@ -40,16 +40,16 @@ type Config struct {
|
||||
type MsgDirection string
|
||||
|
||||
const (
|
||||
Incoming MsgDirection = `incoming`
|
||||
Outgoing MsgDirection = `outgoing`
|
||||
MsgIncoming string = `incoming`
|
||||
MsgOutgoing string = `outgoing`
|
||||
)
|
||||
|
||||
type ChatWarsMessage struct {
|
||||
MsgID64 int64 `json:"msg_id"`
|
||||
UserID64 int64 `json:"user_id"`
|
||||
Direction MsgDirection `json:"direction"`
|
||||
MsgText string `json:"msg"`
|
||||
MsgDate int32 `json:"date"`
|
||||
MsgID64 int64 `json:"msg_id"`
|
||||
UserID64 int64 `json:"user_id"`
|
||||
Direction string `json:"direction"`
|
||||
MsgText string `json:"msg"`
|
||||
MsgDate int32 `json:"date"`
|
||||
}
|
||||
|
||||
var (
|
||||
|
Loading…
Reference in New Issue
Block a user