Skip to content

FragmentData

The data of a message fragment.

Type parameters

Type parameterValue
T extends stringstring

Properties

PropertyTypeDescription
cheermoteT extends "cheermote" ? CheermoteData : nullThe data of the cheeremote if the fragment is a cheeremote.
emoteT extends "emote" ? EmoteData : nullThe data of the emote if the fragment is an emote.
mentionT extends "mention" ? MentionData : nullThe data of the mention if the fragment is a mention.
textstringThe text of the fragment.
typeFragmentTypesThe type of the fragment.