import { useSetUsername } from '@towns-protocol/react-sdk'
function useSetUsername( streamId: string, config?: ActionConfig<Myself["setUsername"]>, ): { data: void | undefined; error: Error | undefined; isPending: boolean; isSuccess: boolean; isError: boolean; setUsername: (username: string) => Promise<void>; }
string
ActionConfig<Myself["setUsername"]>
setUsername
{ data: void | undefined; error: Error | undefined; isPending: boolean; isSuccess: boolean; isError: boolean; setUsername: (username: string) => Promise<void>; }
Was this page helpful?