mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19: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.
|
* Activity sent in a message.
|
||||||
* @typedef {Object} MessageActivity
|
* @typedef {Object} MessageActivity
|
||||||
* @property {string} [partyId] Id of the party represented in activity
|
* @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,
|
APIUser,
|
||||||
GatewayVoiceServerUpdateDispatchData,
|
GatewayVoiceServerUpdateDispatchData,
|
||||||
GatewayVoiceStateUpdateDispatchData,
|
GatewayVoiceStateUpdateDispatchData,
|
||||||
|
MessageActivityType,
|
||||||
RESTPostAPIApplicationCommandsJSONBody,
|
RESTPostAPIApplicationCommandsJSONBody,
|
||||||
Snowflake,
|
Snowflake,
|
||||||
LocalizationMap,
|
LocalizationMap,
|
||||||
@@ -5301,7 +5302,7 @@ export interface MessageActionRowOptions<
|
|||||||
|
|
||||||
export interface MessageActivity {
|
export interface MessageActivity {
|
||||||
partyId: string;
|
partyId: string;
|
||||||
type: number;
|
type: MessageActivityType;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface BaseButtonOptions extends BaseMessageComponentOptions {
|
export interface BaseButtonOptions extends BaseMessageComponentOptions {
|
||||||
|
|||||||
Reference in New Issue
Block a user