Function get_sticker
Source pub async fn get_sticker(
client: &Client,
token: &str,
sticker_id: &str,
) -> Result<Value, Box<dyn Error>>
Expand description
Fetches a sticker by its ID.
§Arguments
client - The HTTP client used to send the request.
token - The bot token for authentication.
sticker_id - The ID of the sticker to fetch.
§Returns
A result containing the sticker information as a JSON value.