mirror of
https://github.com/hanzoai/team.git
synced 2026-09-30 01:57:35 +00:00
* Add support for autocomplete of plugin-created bots * stashing * Add support for including agents in the autocomplete list for @ mentions * Change server response to be users rather than interface * fix
20 lines
506 B
Go
20 lines
506 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package model
|
|
|
|
type UserAutocompleteInChannel struct {
|
|
InChannel []*User `json:"in_channel"`
|
|
OutOfChannel []*User `json:"out_of_channel"`
|
|
}
|
|
|
|
type UserAutocompleteInTeam struct {
|
|
InTeam []*User `json:"in_team"`
|
|
}
|
|
|
|
type UserAutocomplete struct {
|
|
Users []*User `json:"users"`
|
|
OutOfChannel []*User `json:"out_of_channel,omitempty"`
|
|
Agents []*User `json:"agents,omitempty"`
|
|
}
|