MessageEmbedBuilder class final

Constructors

MessageEmbedBuilder()

Properties

author MessageEmbedAuthor?
getter/setter pair
color Color?
getter/setter pair
description String?
getter/setter pair
fields List<MessageEmbedField>
getter/setter pair
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
image MessageEmbedImage?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime?
getter/setter pair
title String?
getter/setter pair
url String?
getter/setter pair

Methods

addField({required String name, required String value, bool inline = false}) MessageEmbedBuilder
build() MessageEmbed
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAuthor({required String name, String? url, String? iconUrl, String? proxyIconUrl}) MessageEmbedBuilder
setColor(Color color) MessageEmbedBuilder
setDescription(String description) MessageEmbedBuilder
setFooter({required String text, String? iconUrl, String? proxyIconUrl}) MessageEmbedBuilder
setImage({required String url, String? proxyUrl, int? height, int? width}) MessageEmbedBuilder
setThumbnail({required String url, String? proxyUrl, int? height, int? width}) MessageEmbedBuilder
setTimestamp({DateTime? timestamp}) MessageEmbedBuilder
setTitle(String title) MessageEmbedBuilder
setUrl(String url) MessageEmbedBuilder
setVideo({required String url, String? proxyUrl, int? height, int? width}) MessageEmbedBuilder
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited