Update ChatWarsMessage with Callbacks
This commit is contained in:
parent
2e65edc76b
commit
b9c2ab7c9f
21
def.go
21
def.go
@ -95,15 +95,20 @@ type ChatWarsItems struct {
|
||||
Quantity int64 `json:"quantity"`
|
||||
}
|
||||
|
||||
type ChatWarsCallback struct {
|
||||
Name string `json:"name"`
|
||||
Data []byte `json:"data"`
|
||||
}
|
||||
|
||||
type ChatWarsMessage struct {
|
||||
ObjID64 int64 `json:"obj_id"`
|
||||
TGUserID64 int64 `json:"tg_user_id"`
|
||||
TGSenderUserID64 int64 `json:"tg_sender_user_id"`
|
||||
Date time.Time `json:"date"`
|
||||
ID64 int64 `json:"id"`
|
||||
ChatID64 int64 `json:"chat_id"`
|
||||
Text string `json:"text"`
|
||||
IsForwarded bool `json:"is_forwarded"`
|
||||
TGUserID64 int64 `json:"tg_user_id"`
|
||||
TGSenderUserID64 int64 `json:"tg_sender_user_id"`
|
||||
Date time.Time `json:"date"`
|
||||
ID64 int64 `json:"id"`
|
||||
ChatID64 int64 `json:"chat_id"`
|
||||
Text string `json:"text"`
|
||||
IsForwarded bool `json:"is_forwarded"`
|
||||
Callbacks []ChatWarsCallback `json:"callbacks"`
|
||||
}
|
||||
|
||||
type ChatWarsExchangeDeal struct {
|
||||
|
Loading…
Reference in New Issue
Block a user