Video
Implementation of discords Video object as a Luau builder.
https://discord.com/developers/docs/resources/message#embed-object-embed-video-structure
Properties
The Video instance has no set properties!
Methods
The Video instance has no set methods!
Functions
setUrl
Video . setUrl () -> ()
self: Video
url: string
proxyUrl: string?
Set the image url for this embed.
setHeight
Video . setHeight () -> ()
self: Video
height: number
Set the image height for this embed.
setWidth
Video . setWidth () -> ()
self: Video
width: number
Set the image width for this embed.
build
Video . build () -> ()
self: Video
Responsible for building the Video JSON that can be parsed by the Discord API.
new
Responsible for creating a new Video.
local video = Video.new({ url = "https://example.com/video.mp4", height = 720, width = 1280})