mattermost-mobile/types/actions/posts.d.ts
Michael Kochell f766f47358
Post app call response ephemeral messages as bot (#5256)
* post app call response ephemeral messages as bot

* add check for isBot

* add SendEphemeralPost func type

* snapshot
2021-04-02 14:04:31 -04:00

8 lines
309 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {ActionResult} from '@mm-redux/types/actions';
export interface SendEphemeralPost {
(message: string, channelId?: string, parentId?: string, userId?: string): Promise<ActionResult>;
}