Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

LLChatHeaderProps

LLChatHeaderProps: { title: string }

Type declaration

  • title: string

LLChatMessageComposerProps

LLChatMessageComposerProps: { isStickerSelectorVisible: boolean; roomId: string; sendMessage: ReturnType<typeof useChatMessages>["sendMessage"]; StickerPickerComponent: any; onToggleStickerSelector: any; setIsStickerSelectorVisible: any }

Type declaration

  • isStickerSelectorVisible: boolean
  • roomId: string
  • sendMessage: ReturnType<typeof useChatMessages>["sendMessage"]
  • StickerPickerComponent:function
  • onToggleStickerSelector:function
    • onToggleStickerSelector(): void
    • Returns void

  • setIsStickerSelectorVisible:function
    • setIsStickerSelectorVisible(value: boolean): void
    • Parameters

      • value: boolean

      Returns void

LLChatMessageItemBodyProps

LLChatMessageItemBodyProps: { message: IChatUserMessageResponsePayload; stickerPacks: IStickerPack[] }

Type declaration

LLChatMessageItemFooterProps

LLChatMessageItemFooterProps: { message: IChatMessageResponsePayload }

Type declaration

LLChatMessageItemHeaderProps

LLChatMessageItemHeaderProps: { message: IChatUserMessageResponsePayload }

Type declaration

LLChatMessageItemProps

LLChatMessageItemProps: { message: IChatMessageResponsePayload; stickerPacks: IStickerPack[] }

Type declaration

LLChatMessageListProps

LLChatMessageListProps: { ChatMessageComposerComponent?: typeof LLChatMessageComposer; ChatMessageItemComponent?: typeof LLChatMessageItem; messages: IChatMessageResponsePayload[]; stickerPacks: IStickerPack[] }

Type declaration

LiveLikeChatroomProps

LiveLikeChatroomProps: { ChatMessageComposerComponent?: typeof LLChatMessageComposer; ChatMessageListComponent?: typeof LLChatMessageList; roomId: string }

Type declaration

StickerPickerRendererProps

StickerPickerRendererProps: { onSelectSticker: any }

Type declaration

  • onSelectSticker:function
    • onSelectSticker(stickerCode: string): void
    • Parameters

      • stickerCode: string

      Returns void

useChatMessageArg

useChatMessageArg: { roomId: string }

Type declaration

  • roomId: string

useChatRoomArg

useChatRoomArg: { roomId: string }

Type declaration

  • roomId: string

Functions

LLChat

LLChatHeader

LLChatMessageComposer

LLChatMessageItem

LLChatMessageItemBody

LLChatMessageItemFooter

LLChatMessageItemHeader

LLChatMessageList

useChatMessages

useChatRoom

useInit

useStickers

  • useStickers(): { 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[] }

    • isStickerSelectorVisible: boolean
    • onToggleStickerSelector: () => void
        • (): void
        • Returns void

    • selectedStickerPackId: string
    • setIsStickerSelectorVisible: Dispatch<SetStateAction<boolean>>
    • setSelectedStickerPackId: Dispatch<SetStateAction<string>>
    • stickerPacks: IStickerPack[]

Generated using TypeDoc