mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
6 lines (5 loc) • 338 B
TypeScript
import type { Bot } from '@mattermost/types/bots';
import type { GlobalState } from '@mattermost/types/store';
export declare const ExternalBotAccountNames: string[];
export declare function getBotAccounts(state: GlobalState): Record<string, Bot>;
export declare const getExternalBotAccounts: (state: GlobalState) => Record<string, Bot>;