• NOTE: Exotic components are not callable.

    Parameters

    • props: { channel: GroupChannel; currentUserId?: string; enableMessageGrouping: boolean; flatListProps?: Omit<FlatListProps<SendbirdMessage>, "data" | "renderItem">; messages: SendbirdMessage[]; newMessagesFromMembers: SendbirdMessage[]; nextMessages: SendbirdMessage[]; onBottomReached: (() => void); onDeleteMessage: ((message: FileMessage | UserMessage) => Promise<void>); onPressImageMessage?: ((message: FileMessage, uri: string) => void); onPressMediaMessage?: ((message: FileMessage, deleteMessage: (() => Promise<void>), uri: string) => void); onResendFailedMessage: ((failedMessage: FileMessage | UserMessage) => Promise<void>); onTopReached: (() => void); renderMessage: ((props: { channel: GroupChannel; currentUserId?: string; enableMessageGrouping: boolean; message: SendbirdMessage; nextMessage?: SendbirdMessage; onLongPress?: (() => void); onPress?: (() => void); prevMessage?: SendbirdMessage }) => null | ReactElement<any, string | JSXElementConstructor<any>>); renderNewMessagesButton: null | CommonComponent<{ newMessages: SendbirdMessage[]; onPress: (() => void); visible: boolean }>; renderScrollToBottomButton: null | CommonComponent<{ onPress: (() => void); visible: boolean }> }
      • channel: GroupChannel
      • Optional currentUserId?: string
      • enableMessageGrouping: boolean
      • Optional flatListProps?: Omit<FlatListProps<SendbirdMessage>, "data" | "renderItem">
      • messages: SendbirdMessage[]
      • newMessagesFromMembers: SendbirdMessage[]
      • nextMessages: SendbirdMessage[]
      • onBottomReached: (() => void)
          • (): void
          • Returns void

      • onDeleteMessage: ((message: FileMessage | UserMessage) => Promise<void>)
          • (message: FileMessage | UserMessage): Promise<void>
          • Parameters

            • message: FileMessage | UserMessage

            Returns Promise<void>

      • Optional onPressImageMessage?: ((message: FileMessage, uri: string) => void)
          • (message: FileMessage, uri: string): void
          • Deprecated

            onPressImageMessage is deprecated, please use onPressMediaMessage instead *

            Parameters

            • message: FileMessage
            • uri: string

            Returns void

      • Optional onPressMediaMessage?: ((message: FileMessage, deleteMessage: (() => Promise<void>), uri: string) => void)
          • (message: FileMessage, deleteMessage: (() => Promise<void>), uri: string): void
          • Parameters

            • message: FileMessage
            • deleteMessage: (() => Promise<void>)
                • (): Promise<void>
                • Returns Promise<void>

            • uri: string

            Returns void

      • onResendFailedMessage: ((failedMessage: FileMessage | UserMessage) => Promise<void>)
          • (failedMessage: FileMessage | UserMessage): Promise<void>
          • Parameters

            • failedMessage: FileMessage | UserMessage

            Returns Promise<void>

      • onTopReached: (() => void)
          • (): void
          • Returns void

      • renderMessage: ((props: { channel: GroupChannel; currentUserId?: string; enableMessageGrouping: boolean; message: SendbirdMessage; nextMessage?: SendbirdMessage; onLongPress?: (() => void); onPress?: (() => void); prevMessage?: SendbirdMessage }) => null | ReactElement<any, string | JSXElementConstructor<any>>)
          • (props: { channel: GroupChannel; currentUserId?: string; enableMessageGrouping: boolean; message: SendbirdMessage; nextMessage?: SendbirdMessage; onLongPress?: (() => void); onPress?: (() => void); prevMessage?: SendbirdMessage }): null | ReactElement<any, string | JSXElementConstructor<any>>
          • Parameters

            • props: { channel: GroupChannel; currentUserId?: string; enableMessageGrouping: boolean; message: SendbirdMessage; nextMessage?: SendbirdMessage; onLongPress?: (() => void); onPress?: (() => void); prevMessage?: SendbirdMessage }
              • channel: GroupChannel
              • Optional currentUserId?: string
              • enableMessageGrouping: boolean
              • message: SendbirdMessage
              • Optional nextMessage?: SendbirdMessage
              • Optional onLongPress?: (() => void)
                  • (): void
                  • Returns void

              • Optional onPress?: (() => void)
                  • (): void
                  • Returns void

              • Optional prevMessage?: SendbirdMessage

            Returns null | ReactElement<any, string | JSXElementConstructor<any>>

      • renderNewMessagesButton: null | CommonComponent<{ newMessages: SendbirdMessage[]; onPress: (() => void); visible: boolean }>
      • renderScrollToBottomButton: null | CommonComponent<{ onPress: (() => void); visible: boolean }>

    Returns null | ReactElement<any, string | JSXElementConstructor<any>>

Generated using TypeDoc