Product
NPM
Versions
Search
Preparing search index...
The search index is not available
Options
All
Public
Public/Protected
All
Inherited
Menu
Exports
<internal>
LLChat
Header
Props
LLChat
Message
Composer
Props
LLChat
Message
Item
Body
Props
LLChat
Message
Item
Footer
Props
LLChat
Message
Item
Header
Props
LLChat
Message
Item
Props
LLChat
Message
List
Props
Live
Like
Chatroom
Props
Sticker
Picker
Renderer
Props
use
Chat
Message
Arg
use
Chat
Room
Arg
LLChat
LLChat
Header
LLChat
Message
Composer
LLChat
Message
Item
LLChat
Message
Item
Body
LLChat
Message
Item
Footer
LLChat
Message
Item
Header
LLChat
Message
List
use
Chat
Messages
use
Chat
Room
use
Init
use
Stickers
Index
Namespaces
<internal>
Type aliases
LLChat
Header
Props
LLChat
Message
Composer
Props
LLChat
Message
Item
Body
Props
LLChat
Message
Item
Footer
Props
LLChat
Message
Item
Header
Props
LLChat
Message
Item
Props
LLChat
Message
List
Props
Live
Like
Chatroom
Props
Sticker
Picker
Renderer
Props
use
Chat
Message
Arg
use
Chat
Room
Arg
Functions
LLChat
LLChat
Header
LLChat
Message
Composer
LLChat
Message
Item
LLChat
Message
Item
Body
LLChat
Message
Item
Footer
LLChat
Message
Item
Header
LLChat
Message
List
use
Chat
Messages
use
Chat
Room
use
Init
use
Stickers
Type aliases
LLChat
Header
Props
LLChat
Header
Props
:
{
title
:
string
}
Type declaration
title
:
string
LLChat
Message
Composer
Props
LLChat
Message
Composer
Props
:
{
isStickerSelectorVisible
:
boolean
;
roomId
:
string
;
sendMessage
:
ReturnType
<
typeof
useChatMessages
>
[
"sendMessage"
]
;
StickerPickerComponent
:
any
;
onToggleStickerSelector
:
any
;
setIsStickerSelectorVisible
:
any
}
Type declaration
is
Sticker
Selector
Visible
:
boolean
room
Id
:
string
send
Message
:
ReturnType
<
typeof
useChatMessages
>
[
"sendMessage"
]
Sticker
Picker
Component
:
function
Sticker
Picker
Component
(
rendererProps
:
StickerPickerRendererProps
)
:
Element
Parameters
rendererProps:
StickerPickerRendererProps
Returns
Element
on
Toggle
Sticker
Selector
:
function
on
Toggle
Sticker
Selector
(
)
:
void
Returns
void
set
Is
Sticker
Selector
Visible
:
function
set
Is
Sticker
Selector
Visible
(
value
:
boolean
)
:
void
Parameters
value:
boolean
Returns
void
LLChat
Message
Item
Body
Props
LLChat
Message
Item
Body
Props
:
{
message
:
IChatUserMessageResponsePayload
;
stickerPacks
:
IStickerPack
[]
}
Type declaration
message
:
IChatUserMessageResponsePayload
sticker
Packs
:
IStickerPack
[]
LLChat
Message
Item
Footer
Props
LLChat
Message
Item
Footer
Props
:
{
message
:
IChatMessageResponsePayload
}
Type declaration
message
:
IChatMessageResponsePayload
LLChat
Message
Item
Header
Props
LLChat
Message
Item
Header
Props
:
{
message
:
IChatUserMessageResponsePayload
}
Type declaration
message
:
IChatUserMessageResponsePayload
LLChat
Message
Item
Props
LLChat
Message
Item
Props
:
{
message
:
IChatMessageResponsePayload
;
stickerPacks
:
IStickerPack
[]
}
Type declaration
message
:
IChatMessageResponsePayload
sticker
Packs
:
IStickerPack
[]
LLChat
Message
List
Props
LLChat
Message
List
Props
:
{
ChatMessageComposerComponent
?:
typeof
LLChatMessageComposer
;
ChatMessageItemComponent
?:
typeof
LLChatMessageItem
;
messages
:
IChatMessageResponsePayload
[]
;
stickerPacks
:
IStickerPack
[]
}
Type declaration
Optional
Chat
Message
Composer
Component
?:
typeof
LLChatMessageComposer
Optional
Chat
Message
Item
Component
?:
typeof
LLChatMessageItem
messages
:
IChatMessageResponsePayload
[]
sticker
Packs
:
IStickerPack
[]
Live
Like
Chatroom
Props
Live
Like
Chatroom
Props
:
{
ChatMessageComposerComponent
?:
typeof
LLChatMessageComposer
;
ChatMessageListComponent
?:
typeof
LLChatMessageList
;
roomId
:
string
}
Type declaration
Optional
Chat
Message
Composer
Component
?:
typeof
LLChatMessageComposer
Optional
Chat
Message
List
Component
?:
typeof
LLChatMessageList
room
Id
:
string
Sticker
Picker
Renderer
Props
Sticker
Picker
Renderer
Props
:
{
onSelectSticker
:
any
}
Type declaration
on
Select
Sticker
:
function
on
Select
Sticker
(
stickerCode
:
string
)
:
void
Parameters
stickerCode:
string
Returns
void
use
Chat
Message
Arg
use
Chat
Message
Arg
:
{
roomId
:
string
}
Type declaration
room
Id
:
string
use
Chat
Room
Arg
use
Chat
Room
Arg
:
{
roomId
:
string
}
Type declaration
room
Id
:
string
Functions
LLChat
LLChat
(
__namedParameters
:
LiveLikeChatroomProps
)
:
Element
Parameters
__namedParameters:
LiveLikeChatroomProps
Returns
Element
LLChat
Header
LLChat
Header
(
__namedParameters
:
LLChatHeaderProps
)
:
Element
Parameters
__namedParameters:
LLChatHeaderProps
Returns
Element
LLChat
Message
Composer
LLChat
Message
Composer
(
__namedParameters
:
LLChatMessageComposerProps
)
:
Element
Parameters
__namedParameters:
LLChatMessageComposerProps
Returns
Element
LLChat
Message
Item
LLChat
Message
Item
(
__namedParameters
:
LLChatMessageItemProps
)
:
Element
Parameters
__namedParameters:
LLChatMessageItemProps
Returns
Element
LLChat
Message
Item
Body
LLChat
Message
Item
Body
(
__namedParameters
:
LLChatMessageItemBodyProps
)
:
Element
Parameters
__namedParameters:
LLChatMessageItemBodyProps
Returns
Element
LLChat
Message
Item
Footer
LLChat
Message
Item
Footer
(
__namedParameters
:
LLChatMessageItemFooterProps
)
:
Element
Parameters
__namedParameters:
LLChatMessageItemFooterProps
Returns
Element
LLChat
Message
Item
Header
LLChat
Message
Item
Header
(
__namedParameters
:
LLChatMessageItemHeaderProps
)
:
Element
Parameters
__namedParameters:
LLChatMessageItemHeaderProps
Returns
Element
LLChat
Message
List
LLChat
Message
List
(
__namedParameters
:
LLChatMessageListProps
)
:
Element
Parameters
__namedParameters:
LLChatMessageListProps
Returns
Element
use
Chat
Messages
use
Chat
Messages
(
__namedParameters
:
Object
)
:
{
messages
:
IChatMessageResponsePayload
[]
;
sendMessage
:
(
messageArgs
:
ISendMessageArgs
)
=>
Promise
<
void
>
}
Parameters
__namedParameters:
Object
Returns
{
messages
:
IChatMessageResponsePayload
[]
;
sendMessage
:
(
messageArgs
:
ISendMessageArgs
)
=>
Promise
<
void
>
}
messages
:
IChatMessageResponsePayload
[]
send
Message
:
(
messageArgs
:
ISendMessageArgs
)
=>
Promise
<
void
>
(
messageArgs
:
ISendMessageArgs
)
:
Promise
<
void
>
Parameters
messageArgs:
ISendMessageArgs
Returns
Promise
<
void
>
use
Chat
Room
use
Chat
Room
(
__namedParameters
:
Object
)
:
{
chatRoom
:
IChatRoomPayload
}
Parameters
__namedParameters:
Object
Returns
{
chatRoom
:
IChatRoomPayload
}
chat
Room
:
IChatRoomPayload
use
Init
use
Init
(
initArg
:
ICoreInitApiArgs
)
:
{
loaded
:
boolean
;
profile
:
IUserProfile
}
Parameters
initArg:
ICoreInitApiArgs
Returns
{
loaded
:
boolean
;
profile
:
IUserProfile
}
loaded
:
boolean
profile
:
IUserProfile
use
Stickers
use
Stickers
(
)
:
{
isStickerSelectorVisible
:
boolean
;
onToggleStickerSelector
:
(
)
=>
void
;
selectedStickerPackId
:
string
;
setIsStickerSelectorVisible
:
Dispatch
<
SetStateAction
<
boolean
>
>
;
setSelectedStickerPackId
:
Dispatch
<
SetStateAction
<
string
>
>
;
stickerPacks
:
IStickerPack
[]
}
Returns
{
isStickerSelectorVisible
:
boolean
;
onToggleStickerSelector
:
(
)
=>
void
;
selectedStickerPackId
:
string
;
setIsStickerSelectorVisible
:
Dispatch
<
SetStateAction
<
boolean
>
>
;
setSelectedStickerPackId
:
Dispatch
<
SetStateAction
<
string
>
>
;
stickerPacks
:
IStickerPack
[]
}
is
Sticker
Selector
Visible
:
boolean
on
Toggle
Sticker
Selector
:
(
)
=>
void
(
)
:
void
Returns
void
selected
Sticker
Pack
Id
:
string
set
Is
Sticker
Selector
Visible
:
Dispatch
<
SetStateAction
<
boolean
>
>
set
Selected
Sticker
Pack
Id
:
Dispatch
<
SetStateAction
<
string
>
>
sticker
Packs
:
IStickerPack
[]
Generated using
TypeDoc