Interface GroupChannelModule
Properties
Header
Header: CommonComponent<{ onPressHeaderLeft: (() => void); onPressHeaderRight: (() => void); shouldHideRight: (() => boolean); }> Type declaration
onPressHeaderLeft: (() => void)
onPressHeaderRight: (() => void)
shouldHideRight: (() => boolean)
- (): boolean
Returns boolean
Input
Input: CommonComponent<PickPartial<ChannelInputProps, "onPressUpdateUserMessage" | "shouldRenderInput" | "onPressSendUserMessage" | "onPressSendFileMessage" | "onPressUpdateFileMessage" | "SuggestedMentionList" | "AttachmentsButton", "inputDisabled">> MessageList
MessageList: CommonComponent<Pick<ChannelMessageListProps<GroupChannel>, "channel" | "onTopReached" | "onBottomReached" | "onScrolledAwayFromBottom" | "currentUserId" | "enableMessageGrouping" | "searchItem" | "hasNext" | "onDeleteMessage" | "onResendFailedMessage" | "onPressMediaMessage" | "renderNewMessagesButton" | "renderScrollToBottomButton" | "renderMessage" | "messages" | "newMessages" | "scrolledAwayFromBottom" | "flatListProps"> & { onResetMessageList: (() => Promise<void>); onResetMessageListWithStartingPoint: ((startingPoint) => Promise<void>); onUpdateSearchItem: ((searchItem?) => void); }> Provider
Provider: CommonComponent<{ channel: GroupChannel; enableTypingIndicator: boolean; groupChannelPubSub: PubSub<GroupChannelPubSubContextPayload>; keyboardAvoidOffset?: number; messages: SendbirdMessage[]; onUpdateSearchItem: ((searchItem?) => void); }> Type declaration
channel: GroupChannel
enableTypingIndicator: boolean
Optional
keyboardAvoidOffset?: number
messages: SendbirdMessage[]
onUpdateSearchItem: ((searchItem?) => void)
- (searchItem?): void
Parameters
Optional
searchItem: {
startingPoint: number;
}
Returns void