setImage method

MessageEmbedBuilder setImage({
  1. required String url,
  2. String? proxyUrl,
  3. int? height,
  4. int? width,
})

Implementation

MessageEmbedBuilder setImage({
  required String url,
  String? proxyUrl,
  int? height,
  int? width,
}) {
  image = MessageEmbedImage(
    url: url,
    proxyUrl: proxyUrl,
    height: height,
    width: width,
  );
  return this;
}