mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs: Add MessageActivityType (v13) (#8257)
This commit is contained in:
@@ -10,7 +10,12 @@ const Util = require('../util/Util');
|
||||
* Activity sent in a message.
|
||||
* @typedef {Object} MessageActivity
|
||||
* @property {string} [partyId] Id of the party represented in activity
|
||||
* @property {number} [type] Type of activity sent
|
||||
* @property {MessageActivityType} type Type of activity sent
|
||||
*/
|
||||
|
||||
/**
|
||||
* @external MessageActivityType
|
||||
* @see {@link https://discord-api-types.dev/api/discord-api-types-v9/enum/MessageActivityType}
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
3
typings/index.d.ts
vendored
3
typings/index.d.ts
vendored
@@ -52,6 +52,7 @@ import {
|
||||
APIUser,
|
||||
GatewayVoiceServerUpdateDispatchData,
|
||||
GatewayVoiceStateUpdateDispatchData,
|
||||
MessageActivityType,
|
||||
RESTPostAPIApplicationCommandsJSONBody,
|
||||
Snowflake,
|
||||
LocalizationMap,
|
||||
@@ -5301,7 +5302,7 @@ export interface MessageActionRowOptions<
|
||||
|
||||
export interface MessageActivity {
|
||||
partyId: string;
|
||||
type: number;
|
||||
type: MessageActivityType;
|
||||
}
|
||||
|
||||
export interface BaseButtonOptions extends BaseMessageComponentOptions {
|
||||
|
||||
Reference in New Issue
Block a user