new Message
src/structures/message.ts:177new Message(client: ShardClient, data?: BaseStructureData, isClone?: boolean)Channel Message Structure
import { Structures } from 'detritus-client';
Structures.Message;new Message(client: ShardClient, data?: BaseStructureData, isClone?: boolean)_getFromSnake(key: string): any_setFromSnake(key: string, value: any): any[custom](): objectack(token: string): Promise<any>clone(): thisconvertContent(
options?: { escapeMentions?: boolean; guildSpecific?: boolean; nick?: boolean; text?: string },
): stringcreateThread(options: CreateChannelMessageThread): Promise<ChannelGuildThread>crosspost(): Promise<Message>delete(options?: DeleteMessage): Promise<any>deleteReaction(emoji: string, userId?: string): Promise<any>deleteReactions(): Promise<any>difference(key: string, value: any): [boolean, any]differences(data?: BaseStructureData): object | nulldifferencesBetween(structure: Structure): object | nulledit(options?: string | EditMessage): Promise<Message>fetchReactions(
emoji: string,
options?: FetchReactions,
): Promise<BaseCollection<string, User>>hasDifference(key: string, value: any): booleanhasDifferences(data?: BaseStructureData): booleanhasDifferencesBetween(structure: Structure): booleanhasFlag(flag: number): booleanmerge(data?: BaseStructureData): voidmergeValue(key: string, value: any): voidpin(): Promise<any>publish(options: CreateApplicationNews): Promise<ApplicationNews>react(emoji: string): Promise<any>removeMention(): Promise<any>reply(options?: string | MessageReplyOptions): Promise<Message>toJSON(): anytoString(): stringReturns a string representation of an object.
triggerTyping(): Promise<any>unpin(): Promise<any>