Gift.transfer()¶
- async Gift.transfer()[source]¶
Bound method transfer of
Gift.Note
For upgraded gifts only.
Use as a shortcut for:
await client.transfer_gift( owned_gift_id="message_id", new_owner_chat_id=to_chat_id )
Example
await gift.transfer(to_chat_id=123)
- Returns:
Message– On success, the sent message is returned.