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