sig/discorb/image.rbs
module Discorb
#
# Represents an image.
class Image
#
# Initializes a new Image.
#
# @param [#read, String] source The IO source or path of the image.
# @param [String] type The MIME type of the image.
def initialize: (untyped | String source, ?String? `type`) -> void
#
# Formats the image as a Discord style.
#
# @return [String] The image as a Discord style.
%a{pure}
def to_s: -> String
%a{pure}
def inspect: -> String
end
end