PLT-6403: Interactive messages (#7274)
* wip * finish first pass * requested changes * add DoPostAction to Client4
Этот коммит содержится в:
@@ -586,3 +586,14 @@ func (c *Context) RequireJobType() *Context {
|
||||
}
|
||||
return c
|
||||
}
|
||||
|
||||
func (c *Context) RequireActionId() *Context {
|
||||
if c.Err != nil {
|
||||
return c
|
||||
}
|
||||
|
||||
if len(c.Params.ActionId) != 26 {
|
||||
c.SetInvalidUrlParam("action_id")
|
||||
}
|
||||
return c
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user