A footer in a dpp::embed.
More...
#include <message.h>
A footer in a dpp::embed.
◆ set_icon()
embed_footer & dpp::embed_footer::set_icon |
( |
const std::string & |
i | ) |
|
Set footer's icon url. Returns footer itself so these methods may be "chained"
- Parameters
-
i | url to set as footer icon url |
- Returns
- A reference to self
◆ set_proxy()
embed_footer & dpp::embed_footer::set_proxy |
( |
const std::string & |
p | ) |
|
Set footer's proxied icon url. Returns footer itself so these methods may be "chained"
- Parameters
-
p | url to set as footer proxied icon url |
- Returns
- A reference to self
◆ set_text()
embed_footer & dpp::embed_footer::set_text |
( |
const std::string & |
t | ) |
|
Set footer's text. Returns footer itself so these methods may be "chained"
- Parameters
-
t | string to set as footer text. It will be truncated to the maximum length of 2048 UTF-8 characters. |
- Returns
- A reference to self
◆ icon_url
std::string dpp::embed_footer::icon_url |
Footer icon url (only supports http(s) and attachments)
◆ proxy_url
std::string dpp::embed_footer::proxy_url |
◆ text
std::string dpp::embed_footer::text |