A footer in a dpp::embed. More...
#include "message.h"
Public Member Functions | |
embed_footer & | set_icon (const std::string &i) |
Set footer's icon url. More... | |
embed_footer & | set_proxy (const std::string &p) |
Set footer's proxied icon url. More... | |
embed_footer & | set_text (const std::string &t) |
Set footer's text. More... | |
Public Attributes | |
std::string | icon_url |
Footer icon url. More... | |
std::string | proxy_url |
Proxied icon url. More... | |
std::string | text |
Footer text. More... | |
A footer in a dpp::embed.
embed_footer & dpp::embed_footer::set_icon | ( | const std::string & | i | ) |
Set footer's icon url.
i | url to set as footer icon url |
References dpp::reaction::count, dpp::reaction::count_burst, and dpp::int32_not_null().
Referenced by dpp::embed::set_timestamp().
embed_footer & dpp::embed_footer::set_proxy | ( | const std::string & | p | ) |
Set footer's proxied icon url.
p | url to set as footer proxied icon url |
embed_footer & dpp::embed_footer::set_text | ( | const std::string & | t | ) |
Set footer's text.
t | string to set as footer text. It will be truncated to the maximum length of 2048 UTF-8 characters. |
Referenced by dpp::embed::set_timestamp().
std::string dpp::embed_footer::icon_url |
Footer icon url.
Referenced by dpp::embed::set_color().
std::string dpp::embed_footer::proxy_url |
Proxied icon url.
Referenced by dpp::embed::set_colour().
std::string dpp::embed_footer::text |
Footer text.
Referenced by dpp::embed::set_description().