stream-chat
Version:
JS SDK for the Stream Chat API
12 lines (11 loc) • 522 B
TypeScript
import type { Attachment, LocalMessage, MessageResponse } from '../types';
export declare const isLocalUrl: (value: string | undefined) => boolean;
export declare const isAttachmentReplayable: (attachment: Attachment) => boolean;
export declare const isMessageUpdateReplayable: (message: LocalMessage | Partial<MessageResponse>) => boolean;
export declare const getPendingTaskChannelData: (cid?: string) => {
channelId?: undefined;
channelType?: undefined;
} | {
channelId: string;
channelType: string;
};