MarshalX / tgcalls

Voice chats, private incoming and outgoing calls in Telegram for Developers
https://t.me/tgcallslib
GNU Lesser General Public License v3.0
516 stars 91 forks source link

telethon_bridge: Implement missing functions #102

Closed nitanmarcel closed 3 years ago

nitanmarcel commented 3 years ago

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

MarshalX commented 3 years ago

Thank you