EditedMessage
Properties
EditedMessage.id : string
The message's id.
EditedMessage.messageType : number
The type of message the message is.
EditedMessage.content : string
The message's content.
EditedMessage.channelId : string
The id of the channel the message was sent in.
EditedMessage.author : Author
The the author of the message.
EditedMessage.embeds : { Embed }
A table of embeds that are attached to the message.
EditedMessage.reactions : { Reaction }
A table of reactions that were added to the message.
Deprecation Notice
This property has been deprecated due to an API change.
EditedMessage.mentions : { User }
A table of users mentioned in the message.
EditedMessage.mentionRoles : { string }
A table of role ids mentioned in the message.
EditedMessage.pinned : boolean
Whether the message is pinned.
EditedMessage.mentionEveryone : boolean
Whether the message mentions @everyone.
EditedMessage.tts : boolean
Whether the message was a TTS message.
EditedMessage.timestamp : string
A timestamp of when the message was sent in ISO8601 format.
Deprecation Notice
This property has been deprecated. Please use EditedMessage.createdAt instead.
EditedMessage.createdAt : DateTime
A datetime object representing when the message was created.
EditedMessage.flags : MessageFlags
A MessageFlags object representing the message's flags.
EditedMessage.webhookId : string
The id of the webhook that sent this message.
EditedMessage.editedTimestamp : string
A timestamp of when the message was edited in ISO8601 format.
Deprecation Notice
This property has been deprecated. Please use EditedMessage.editedAt instead.
EditedMessage.editedAt : DateTime
A datetime object representing when the message was last edited.
EditedMessage.jumpUrl : string
The jump url of the message.
Methods
EditedMessage.new(data : dictionary) : EditedMessage
This method returns a new EditedMessage object.
Warning
This method is not meant to be called outside of Voyager's internal code.
Parameters
- data: A message object.