nitro-react/src/api/groups/TryJoinGroup.ts

5 lines
207 B
TypeScript
Raw Normal View History

2021-08-31 05:22:20 +02:00
import { GroupJoinComposer } from '@nitrots/nitro-renderer';
import { SendMessageHook } from '../../hooks';
2022-02-17 06:32:18 +01:00
export const TryJoinGroup = (groupId: number) => SendMessageHook(new GroupJoinComposer(groupId));