UNPKG

@sendbird/uikit-react

Version:

Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.

33 lines (32 loc) 1.98 kB
export declare const ONE_MiB: number; export declare const SCROLL_BUFFER = 10; export declare const SCROLL_BOTTOM_DELAY_FOR_SEND = 100; export declare const SCROLL_BOTTOM_DELAY_FOR_FETCH = 100; export declare const VOICE_RECORDER_CLICK_BUFFER_TIME = 250; export declare const VOICE_RECORDER_DEFAULT_MIN = 1000; export declare const VOICE_RECORDER_DEFAULT_MAX = 600000; export declare const VOICE_RECORDER_AUDIO_BIT_RATE = 12000; export declare const VOICE_RECORDER_AUDIO_SAMPLE_RATE = 11025; export declare const BROWSER_SUPPORT_MIME_TYPE_LIST: string[]; export declare const VOICE_PLAYER_PLAYBACK_BUFFER = 0.01; export declare const VOICE_PLAYER_DURATION_MIN_SIZE = 1000; /** * Append Audio element to the root * because I can't get the Audio element in the useEffect unmount scope */ export declare const VOICE_PLAYER_ROOT_ID = "sendbird-voice-player-provider-root"; export declare const VOICE_PLAYER_AUDIO_ID = "sendbird-global-audio-player-id"; export declare const VOICE_MESSAGE_FILE_NAME = "Voice_message.mp3"; export declare const VOICE_MESSAGE_FILE_NAME__XM4A = "Voice_message.m4a"; export declare const VOICE_MESSAGE_MIME_TYPE = "audio/mp3;sbu_type=voice"; export declare const VOICE_MESSAGE_MIME_TYPE__XM4A = "audio/x-m4a;sbu_type=voice"; export declare const META_ARRAY_VOICE_DURATION_KEY = "KEY_VOICE_MESSAGE_DURATION"; export declare const META_ARRAY_MESSAGE_TYPE_KEY = "KEY_INTERNAL_MESSAGE_TYPE"; export declare const META_ARRAY_MESSAGE_TYPE_VALUE__VOICE = "voice/mp3"; export declare const DELIVERY_RECEIPT = "delivery_receipt"; export declare const SLIDER_BUTTON_ICON_SIDE_LENGTH = "32px"; export declare const DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT = 10; export declare const DEFAULT_UPLOAD_SIZE_LIMIT: number; export declare const CACHED_MESSAGE_TEMPLATES_TOKEN_KEY = "sendbird_message_templates_token_key"; export declare const CACHED_MESSAGE_TEMPLATES_KEY = "sendbird_message_templates_key"; export declare const MESSAGE_TEMPLATE_KEY = "message_template";