struct

Fetcher::Attachment

Inherits Struct < Value < Object

Constructors

new(url : String, mime_type : String, title : String | Nil = nil, size_in_bytes : Int64 | Nil = nil, duration_in_seconds : Int32 | Nil = nil)
Source

Instance methods

clone
Source
copy_with(url _url = @url, mime_type _mime_type = @mime_type, title _title = @title, size_in_bytes _size_in_bytes = @size_in_bytes, duration_in_seconds _duration_in_seconds = @duration_in_seconds)
Source
duration_in_seconds
mime_type
size_in_bytes
title
url