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 |
( |
std::string_view |
i | ) |
|
Set footer's icon url.
- Parameters
-
i | url to set as footer icon url |
- Returns
- A reference to self so this method may be "chained".
◆ set_proxy()
embed_footer & dpp::embed_footer::set_proxy |
( |
std::string_view |
p | ) |
|
Set footer's proxied icon url.
- Parameters
-
p | url to set as footer proxied icon url |
- Returns
- A reference to self so this method may be "chained".
◆ set_text()
embed_footer & dpp::embed_footer::set_text |
( |
std::string_view |
t | ) |
|
Set footer's text.
- 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 so this method may be "chained".
◆ icon_url
std::string dpp::embed_footer::icon_url |
Footer icon url.
- Warning
- Only supports http(s) and attachments.
◆ proxy_url
std::string dpp::embed_footer::proxy_url |
◆ text
std::string dpp::embed_footer::text |