ChannelMessageEditedEvent
ChannelMessageEditedEvent =
object
Event data emitted when a message's content is modified.
Properties
channelId
channelId:
ChannelGuid
The ID of the channel containing the message.
communityId?
optionalcommunityId:CommunityGuid
deletedAt?
optionaldeletedAt:Date
Timestamp when the message was deleted. Undefined for active messages.
editedAt?
optionaleditedAt:Date
Timestamp when the message was last edited.
id
id:
MessageGuid
The unique identifier of the edited message.
messageContent
messageContent:
string
The updated text content of the message.
messageType
messageType:
MessageType
The type of message. Use the MessageType enum values: UserMessage (1) for user-created messages or System (2) for system-generated messages.
messageUris?
optionalmessageUris:MessageUri[]
Optional array of MessageUri objects containing URIs and attachment metadata.
parentMessages?
optionalparentMessages:ParentMessage[]
Optional array of ParentMessage objects representing messages this message is replying to.
pinnedAt?
optionalpinnedAt:Date
Timestamp when the message was pinned. Undefined if not pinned.
reactions?
optionalreactions:MessageReaction[]
Optional array of MessageReaction objects representing reactions on the message.
referenceMaps?
optionalreferenceMaps:MessageReferenceMaps
Optional MessageReferenceMaps object containing resolved references for users, channels, roles, and assets mentioned in the message.
userId
userId:
UserGuid
The ID of the user who created the message.