Product
NPM
Versions
Preparing search index...
The search index is not available
@livelike/react-native
useChatRoomActions
Function useChatRoomActions
use
Chat
Room
Actions
(
__namedParameters
)
:
{
loadPrevMessages
:
(
(
)
=>
Promise
<
IteratorResult
<
{
messages
:
IChatMessageResponsePayload
[]
;
}
,
{
messages
:
IChatMessageResponsePayload
[]
;
}
>
>
)
;
updateChatConfig
:
(
(
arg
)
=>
void
)
;
}
Parameters
__namedParameters
:
UseChatRoomActionsArg
Returns
{
loadPrevMessages
:
(
(
)
=>
Promise
<
IteratorResult
<
{
messages
:
IChatMessageResponsePayload
[]
;
}
,
{
messages
:
IChatMessageResponsePayload
[]
;
}
>
>
)
;
updateChatConfig
:
(
(
arg
)
=>
void
)
;
}
load
Prev
Messages
:
(
(
)
=>
Promise
<
IteratorResult
<
{
messages
:
IChatMessageResponsePayload
[]
;
}
,
{
messages
:
IChatMessageResponsePayload
[]
;
}
>
>
)
(
)
:
Promise
<
IteratorResult
<
{
messages
:
IChatMessageResponsePayload
[]
;
}
,
{
messages
:
IChatMessageResponsePayload
[]
;
}
>
>
Returns
Promise
<
IteratorResult
<
{
messages
:
IChatMessageResponsePayload
[]
;
}
,
{
messages
:
IChatMessageResponsePayload
[]
;
}
>
>
update
Chat
Config
:
(
(
arg
)
=>
void
)
(
arg
)
:
void
Parameters
arg
:
UpdateChatConfigActionArg
Returns
void
Settings
Member Visibility
Inherited
@livelike/react-native - v0.0.1-alpha.28
<internal>
BannerType
LLThemeType
PopoverType
WidgetMode
WidgetResultState
WidgetUIPhase
Banner
BasePickerData
ComponentStyleProp
FontFamilyType
FontWeightType
GifPickerState
IChatMessage
IChatUserMessage
LLAlertWidgetBodyProps
LLAlertWidgetBodyStyles
LLAlertWidgetDetailProps
LLAlertWidgetDetailStyles
LLAlertWidgetLinkProps
LLAlertWidgetLinkStyles
Loading...
Generated using
TypeDoc