Function OpenChannelMessageRenderer
- OpenChannelMessageRenderer(props): ReactNode
Parameters
props: {
bottomSheetItem?: BottomSheetItem;
channel: OpenChannel;
currentUserId?: string;
enableMessageGrouping: boolean;
focused: boolean;
isFirstItem: boolean;
message: SendbirdMessage;
nextMessage?: SendbirdMessage;
onLongPress?: (() => void);
onPress?: (() => void);
onPressParentMessage?: ((parentMessage) => void);
onShowUserProfile?: ((user, options?) => void);
prevMessage?: SendbirdMessage;
}
Optional
bottomSheetItem?: BottomSheetItem
channel: OpenChannel
Optional
currentUserId?: string
enableMessageGrouping: boolean
focused: boolean
isFirstItem: boolean
message: SendbirdMessage
Optional
nextMessage?: SendbirdMessage
Optional
onLongPress?: (() => void)
Optional
onPress?: (() => void)
Optional
onPressParentMessage?: ((parentMessage) => void)
- (parentMessage): void
Parameters
parentMessage: SendbirdMessage
Returns void
Optional
onShowUserProfile?: ((user, options?) => void)
- (user, options?): void
Parameters
user: Member | User
Optional
options: ShowOptions
Returns void
Optional
prevMessage?: SendbirdMessage
Returns ReactNode
NOTE: Exotic components are not callable.