UNPKG

valorant-api-types

Version:

A collection of documented endpoints and return types for the unofficial Valorant API

34 lines 1.21 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.chatParticipantsEndpoint = void 0; const zod_1 = require("zod"); const commonTypes_1 = require("../../../commonTypes"); exports.chatParticipantsEndpoint = { name: 'Chat Participants', description: 'Get information about the participants of all active conversations or a specific conversation if a cid is provided', category: ['Local Endpoints', 'Chat'], type: 'local', suffix: 'chat/v5/participants', query: new Map([ ['cid', zod_1.z.string().optional()] ]), riotRequirements: { localAuth: true }, responses: { '200': zod_1.z.object({ participants: zod_1.z.array(zod_1.z.object({ activePlatform: zod_1.z.null(), cid: zod_1.z.string(), game_name: zod_1.z.string(), game_tag: zod_1.z.string(), muted: zod_1.z.boolean(), name: zod_1.z.string(), pid: zod_1.z.string(), puuid: commonTypes_1.playerUUIDSchema, region: zod_1.z.string() })) }) } }; //# sourceMappingURL=ChatParticipants.js.map