Replaced any entity getter with a less request-hungry one (get_entity -> get_input_entity). Tell me if somehow you need the full entity instead of the Input object (InputPeer, InputUser).
Also removed get_input_entity where not needed. Telethon auto casts username's, ids, Chat, Channel objects to the required InputPeer when making an raw request
Replaced any entity getter with a less request-hungry one (get_entity -> get_input_entity). Tell me if somehow you need the full entity instead of the Input object (InputPeer, InputUser).
Also removed get_input_entity where not needed. Telethon auto casts username's, ids, Chat, Channel objects to the required InputPeer when making an raw request