stream-chat-react
Version:
React components to create chat conversations or livestream style chat
18 lines (17 loc) • 740 B
TypeScript
export declare const useAttachmentsForPreview: () => {
attachments: import("stream-chat").LocalAttachment[];
location: import("stream-chat").StaticLocationPayload | import("stream-chat").LiveLocationPreview | null;
poll: {
id: string;
max_votes_allowed: string;
name: string;
options: import("stream-chat").PollComposerOption[];
allow_answers?: boolean | undefined;
allow_user_suggested_options?: boolean | undefined;
description?: string | undefined;
enforce_unique_vote?: boolean | undefined;
is_closed?: boolean | undefined;
user_id?: string | undefined;
voting_visibility?: import("stream-chat").VotingVisibility | undefined;
};
};