Table of Contents

Enum MediaType

Namespace
DisCatSharp.Enums
Assembly
DisCatSharp.dll

Represents a categorized media type for attachments.

public enum MediaType

Fields

Unknown = 0

Unknown or unrecognized media type.

VoiceMessage = 1

Media type for Discord voice messages (special case, e.g., voice_message.ogg).

Application = 2

Media type for application data (e.g., application/json, application/pdf).

Audio = 3

Media type for audio data (e.g., audio/mpeg, audio/ogg).

Font = 4

Media type for font data (e.g., font/woff, font/ttf).

Haptics = 5

Media type for haptics data (e.g., haptics/ivs).

Image = 6

Media type for image data (e.g., image/png, image/jpeg).

Model = 7

Media type for model data (e.g., model/gltf+json, model/3mf).

Message = 8

Media type for message data (e.g., message/rfc822).

Multipart = 9

Media type for multipart data (e.g., multipart/form-data).

Text = 10

Media type for text data (e.g., text/plain, text/html).

Video = 11

Media type for video data (e.g., video/mp4, video/webm).