Add support packet metadata (#27465)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8919a9c959
Коммит
e85d34163c
@@ -1306,6 +1306,13 @@ type API interface {
|
||||
// @tag User
|
||||
// Minimum server version: 9.8
|
||||
UpdateUserRoles(userID, newRoles string) (*model.User, *model.AppError)
|
||||
|
||||
// GenerateSupportMetadata generates the metadata for a support packet.
|
||||
// pluginMeta should contain the values that plugin wants to insert into a standard support packet metadata.
|
||||
//
|
||||
// @tag Metadata
|
||||
// Minimum server version: 9.10
|
||||
GenerateSupportMetadata(pluginMeta map[string]any) (*model.Metadata, error)
|
||||
}
|
||||
|
||||
var handshake = plugin.HandshakeConfig{
|
||||
|
||||
Ссылка в новой задаче
Block a user