mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
20 lines (18 loc) • 474 B
text/typescript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
export type Bot = {
user_id: string ;
username: string ;
display_name?: string ;
description?: string ;
owner_id: string ;
create_at: number ;
update_at: number ;
delete_at: number ;
}
// BotPatch is a description of what fields to update on an existing bot.
export type BotPatch = {
username: string;
display_name: string;
description: string;
}