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 : {[number] : Embed}
A table of embeds that are attached to the message.
EditedThreadMessage.reactions : {[number] : Reaction}
A table of reactions to the message.
EditedThreadMessage.mentions : {[number] : User}
A table of users mentioned in the message.
EditedThreadMessage.mentionRoles : {[number] : 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.
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.
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.