We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2cbc51 commit 469213bCopy full SHA for 469213b
README.rst
@@ -92,7 +92,12 @@ To fetch images sent to your Bot::
92
To post a text message (you'll always need chat_id to reply users)::
93
94
>>> 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.")
+ >>> 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)
101
102
To post a audio file (you'll always need chat_id to reply users)::
103
0 commit comments