update craft all
This commit is contained in:
parent
75bdda96fa
commit
dfb09d5a8d
7
def.go
7
def.go
@ -500,6 +500,13 @@ type JobPayloadCraftItem struct {
|
||||
VaultJobID64 int64 `json:"vault_job_id"`
|
||||
}
|
||||
|
||||
type JobPayloadCraftAll struct {
|
||||
MsgID64 int64 `json:"msg_id"`
|
||||
ChatID64 int64 `json:"chat_id"`
|
||||
UserID64 int64 `json:"user_id"`
|
||||
VaultJobID64 int64 `json:"vault_job_id"`
|
||||
}
|
||||
|
||||
type JobPayloadGetVault struct {
|
||||
Status int64 `json:"status"`
|
||||
JobCallbackID64 int64 `json:"job_callback_id"`
|
||||
|
4
job.go
4
job.go
@ -1657,8 +1657,8 @@ func jobGWithdraw(j Job) {
|
||||
}
|
||||
|
||||
if len(stock) > 0 {
|
||||
err := jobSetPayloadJSON(j.ID64, p)
|
||||
logOnError(err, "jobGWithdraw : jobSetPayloadJSON")
|
||||
err := setJobPayloadJSON(j.ID64, p)
|
||||
logOnError(err, "jobGWithdraw : setJobPayloadJSON")
|
||||
|
||||
setJobCallback(j.ID64, int64(bot.Me.ID), cacheObjSubType[`msg_job_gwithdraw_ack`])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user