Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
import { useCreateChannel } from '@towns-protocol/react-sdk'
function useCreateChannel( spaceId: string, config?: ActionConfig<Space["createChannel"]>, ): { data: string | undefined; error: Error | undefined; isPending: boolean; isSuccess: boolean; isError: boolean; createChannel: (channelName: string, signer: Signer, opts?: { topic?: string; } | undefined) => Promise<string>; }
string
ActionConfig<Space["createChannel"]>
createChannel
{ data: string | undefined; error: Error | undefined; isPending: boolean; isSuccess: boolean; isError: boolean; createChannel: (channelName: string, signer: Signer, opts?: { topic?: string; } | undefined) => Promise<string>; }
Was this page helpful?