Skip to main content
Version: Next

MessageSearchHasType

@remarks

All types can be negated by prefixing them with -, which means results will not include messages that match the type.

@see

Index

Enumeration Members

Embed

Embed: embed

Return messages that have an embed

File

File: file

Return messages that have an attachment

Image

Image: image

Return messages that have an image

Link

Link: link

Return messages that have a link

NotEmbed

NotEmbed: -embed

Return messages that don't have an embed

NotFile

NotFile: -file

Return messages that don't have an attachment

NotImage

NotImage: -image

Return messages that don't have an image

NotLink

NotLink: -link

Return messages that don't have a link

NotPoll

NotPoll: -poll

Return messages that don't have a poll

NotSnapshot

NotSnapshot: -snapshot

Return messages that don't have a forwarded message

NotSound

NotSound: -sound

Return messages that don't have a sound attachment

NotSticker

NotSticker: -sticker

Return messages that don't have a sent sticker

NotVideo

NotVideo: -video

Return messages that don't have a video

Poll

Poll: poll

Return messages that have a poll

Snapshot

Snapshot: snapshot

Return messages that have a forwarded message

Sound

Sound: sound

Return messages that have a sound attachment

Sticker

Sticker: sticker

Return messages that have a sent sticker

Video

Video: video

Return messages that have a video