@sendbird/uikit-react
Version:
Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.
7 lines (6 loc) • 531 B
TypeScript
import type { GroupChannel } from '@sendbird/chat/groupChannel';
import type { OpenChannel } from '@sendbird/chat/openChannel';
export declare const DEFAULT_URL_PREFIX = "https://static.sendbird.com/sample/cover/cover_";
export declare const getOpenChannelAvatar: (channel?: OpenChannel | null) => string | undefined;
export declare const getChannelAvatarSource: (channel: GroupChannel | null, currentUserId: string) => string | Array<string>;
export declare const generateDefaultAvatar: (channel: GroupChannel | null) => boolean;