ReceivedGift.toggle()#
- ReceivedGift.toggle()#
Bound method toggle of
ReceivedGift
.Use as a shortcut for:
await client.toggle_gift_is_saved( message_id=message_id )
- Parameters:
is_saved (
bool
) – Pass True to display the gift on the user’s profile page; pass False to remove it from the profile page.
Example
await received_gift.toggle(is_saved=False)
- Returns:
bool
– On success, True is returned.