- Preparing search index...
- The search index is not available
Documentation
Function OpenChannelMessageRenderer
- OpenChannelMessageRenderer(props: {
channel: OpenChannel;
currentUserId?: string;
enableMessageGrouping: boolean;
focused: boolean;
message: SendbirdMessage;
nextMessage?: SendbirdMessage;
onLongPress?: (() => void);
onPress?: (() => void);
onPressAvatar?: ((user: Member | User, options?: ShowOptions) => void);
prevMessage?: SendbirdMessage;
}): null | ReactElement<any, string | JSXElementConstructor<any>>
-
Parameters
-
props: {
channel: OpenChannel;
currentUserId?: string;
enableMessageGrouping: boolean;
focused: boolean;
message: SendbirdMessage;
nextMessage?: SendbirdMessage;
onLongPress?: (() => void);
onPress?: (() => void);
onPressAvatar?: ((user: Member | User, options?: ShowOptions) => void);
prevMessage?: SendbirdMessage;
}
-
channel: OpenChannel
-
Optional
currentUserId?: string
-
enableMessageGrouping: boolean
-
focused: boolean
-
message: SendbirdMessage
-
Optional
nextMessage?: SendbirdMessage
-
Optional
onLongPress?: (() => void)
-
Optional
onPress?: (() => void)
-
Optional
onPressAvatar?: ((user: Member | User, options?: ShowOptions) => void)
-
- (user: Member | User, options?: ShowOptions): void
-
Parameters
-
user: Member | User
-
Optional
options: ShowOptions
Returns void
-
Optional
prevMessage?: SendbirdMessage
Returns null | ReactElement<any, string | JSXElementConstructor<any>>
NOTE: Exotic components are not callable.