mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-24 18:33:44 +03:00
Use TheAyyBot's username instead mine
parent
0a96140f5e
commit
ef483bdd76
|
@ -22,7 +22,7 @@ Note that saving and using these entities will be more important when [Accessing
|
||||||
Other common methods for quick scripts are also available:
|
Other common methods for quick scripts are also available:
|
||||||
```python
|
```python
|
||||||
# Sending a message (use an entity/username/etc)
|
# Sending a message (use an entity/username/etc)
|
||||||
client.send_message('lonami', 'Hello! I am testing your Telethon library')
|
client.send_message('TheAyyBot', 'ayy')
|
||||||
|
|
||||||
# Sending a photo, or a file
|
# Sending a photo, or a file
|
||||||
client.send_file(myself, '/path/to/the/file.jpg', force_document=True)
|
client.send_file(myself, '/path/to/the/file.jpg', force_document=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user