get_stickers

Function get_stickers 

Source
pub async fn get_stickers(
    sticker_type: StickerType,
    query: String,
    limit: i32,
    chat_id: i64,
    client_id: i32,
) -> Result<Stickers, Error>
Expand description

Returns stickers from the installed sticker sets that correspond to any of the given emoji or can be found by sticker-specific keywords. If the query is non-empty, then favorite, recently used or trending stickers may also be returned

ยงArguments

  • sticker_type - Type of the stickers to return
  • query - Search query; a space-separated list of emoji or a keyword prefix. If empty, returns all known installed stickers
  • limit - The maximum number of stickers to be returned
  • chat_id - Chat identifier for which to return stickers. Available custom emoji stickers may be different for different chats
  • client_id - The client id to send the request to