mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-10 10:49:39 +00:00
Update code using get_input_entity
This commit is contained in:
@@ -129,7 +129,7 @@ as you wish. Remember to use the right types! To sum up:
|
||||
.. code-block:: python
|
||||
|
||||
result = await client(SendMessageRequest(
|
||||
await client.get_input_entity('username'), 'Hello there!'
|
||||
await client.get_profile('username'), 'Hello there!'
|
||||
))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user