Skip to content

Commit 469213b

Browse files
committed
Update README
1 parent e2cbc51 commit 469213b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,12 @@ To fetch images sent to your Bot::
9292
To post a text message (you'll always need chat_id to reply users)::
9393

9494
>>> chat_id = bot.getUpdates()[-1].message.chat_id
95-
>>> bot.sendMessage(chat_id=chat_id, text=u"I'm sorry Dave I'm afraid I can't do that.")
95+
>>> bot.sendMessage(chat_id=chat_id, text="I'm sorry Dave I'm afraid I can't do that.")
96+
97+
To post an Emoji (special thanks to `Tim Whitlock <http://apps.timwhitlock.info/emoji/tables/unicode>`_)::
98+
99+
>>> chat_id = bot.getUpdates()[-1].message.chat_id
100+
>>> bot.sendMessage(chat_id=chat_id, text=telegram.Emoji.PILE_OF_POO)
96101

97102
To post a audio file (you'll always need chat_id to reply users)::
98103

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy