OpenChannelContextsType: {
    Fragment: React.Context<{
        channel: SendbirdOpenChannel;
        headerTitle: string;
        keyboardAvoidOffset?: number;
        messageToEdit?: SendbirdUserMessage | SendbirdFileMessage;
        setMessageToEdit: ((msg?) => void);
    }>;
    PubSub: React.Context<PubSub<OpenChannelPubSubContextPayload>>;
}

Internal context for OpenChannel For example, the developer can create a custom header with getting data from the domain context

Type declaration

  • Fragment: React.Context<{
        channel: SendbirdOpenChannel;
        headerTitle: string;
        keyboardAvoidOffset?: number;
        messageToEdit?: SendbirdUserMessage | SendbirdFileMessage;
        setMessageToEdit: ((msg?) => void);
    }>
  • PubSub: React.Context<PubSub<OpenChannelPubSubContextPayload>>

Generated using TypeDoc