peyk.platforms.telegram.methods.set_sticker_keywords¶
- async peyk.platforms.telegram.methods.set_sticker_keywords(self, sticker: str, keywords: List[str] | None = None) bool¶
Use this method to change search keywords assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success.
- Parameters:
sticker – File identifier of the sticker
keywords – A JSON-serialized list of 0-20 search keywords for the sticker with total length of up to 64 characters
- Returns:
Result returned by Telegram on successful execution.
- Return type:
bool