UNPKG

bottender

Version:

A framework for building conversational user interfaces.

28 lines 1 kB
import { Event } from '../context/Event'; import { Message, SlackRawEvent } from './SlackTypes'; export default class SlackEvent implements Event<SlackRawEvent> { _rawEvent: SlackRawEvent; _timestamp: number; constructor(rawEvent: SlackRawEvent); get rawEvent(): SlackRawEvent; get timestamp(): number | undefined; get isMessage(): boolean; get isChannelsMessage(): boolean; get isGroupsMessage(): boolean; get isImMessage(): boolean; get isMpimMessage(): boolean; get message(): Message | null; get isText(): boolean; get text(): string | null; get isInteractiveMessage(): boolean; get isBlockAction(): boolean; get isViewSubmission(): boolean; get isViewClosed(): boolean; get isBlockActionOrInteractiveMessage(): boolean; get callbackId(): string | null; get action(): {} | null; get isBotMessage(): boolean; get isCommand(): boolean; get command(): string | null; } //# sourceMappingURL=SlackEvent.d.ts.map