peyk.platforms.telegram.methods.convert_gift_to_stars¶
- async peyk.platforms.telegram.methods.convert_gift_to_stars(self, business_connection_id: str, owned_gift_id: str) bool¶
Converts a given regular gift to Telegram Stars. Requires the can_convert_gifts_to_stars business bot right. Returns True on success.
- Parameters:
business_connection_id – Unique identifier of the business connection
owned_gift_id – Unique identifier of the regular gift that should be converted to Telegram Stars
- Returns:
Result returned by Telegram on successful execution.
- Return type:
bool