MessageEmbedAuthor constructor

MessageEmbedAuthor({
  1. required String name,
  2. required String? url,
  3. required String? iconUrl,
  4. required String? proxyIconUrl,
})

Implementation

MessageEmbedAuthor(
    {required this.name,
    required this.url,
    required this.iconUrl,
    required this.proxyIconUrl}) {
  expectOrThrow(name.length <= 256,
      message: 'Author name must be 256 or fewer in length');
}