All tools / Messages
Message type lookup
Look up a message type value, whether it can be deleted, and which types need a newer API version.
Result
System messages differ
Type 0 is a normal message. Type 19 is a reply and type 20 is a chat input command; both need API v8 or above (they were type 0 on v6). Type 21 is the thread starter message, needs API v9, is not deletable, and carries no content, embeds, or attachments. Type 24 (auto moderation) can be deleted only with MANAGE_MESSAGES. Type 46 is the automatic poll result. RECIPIENT_ADD, RECIPIENT_REMOVE, CALL, channel name or icon changes, and thread starter messages are not deletable.
Related: Message reference reply and forward builder · Bulk delete 2-week window checker