Discore
Show / Hide Table of Contents

Method SetImage

| Improve this Doc View Source

SetImage(string)

Sets the URL of the image to include in the embed.

To use attachments uploaded alongside the embed, use the format: attachment://FILENAME_WITH_EXT

Declaration
public EmbedOptions SetImage(string imageUrl)
Parameters
Type Name Description
string imageUrl
Returns
Type Description
EmbedOptions
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX