techchrism/valorant-api-docs

[Type Improvement] System type is also possible

tanishqmanuja opened this issue · 1 comments

https://github.com/techchrism/valorant-api-docs/blob/trunk/valorant-api-types/src/endpoints/local/chat/SendChat.ts#L15

After suggested enum

 body: z.object({
        cid: z.string().describe('The conversation ID of the group to send the message to'),
        message: z.string(),
        type: z.enum(['groupchat', 'chat', 'system']).describe('Use chat for whispers, groupchat for group messages or system for message visible only to you.')
    }),

Thanks for pointing this out 👍