Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MessageAttachment

Represents an attachment added to a Message

Hierarchy

Index

Constructors

constructor

Properties

bot

bot: Bot

The Bot operating this structure

dimensions

dimensions: Nullable<Dimensions>

The width and height of the file. Possibly null if the attached file is not an image

filename

filename: string

Name of the attached file

id

The attachment's ID

message

message: Message

The Message associated to this attachment

proxyURL

proxyURL: string

A proxies URL of the attached file

size

size: number

Size of the attached file in bytes

url

url: string

Source URL of the attached file

Methods

clone

  • clone(): this

update

Generated using TypeDoc