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