Skip to content

Commit 2c90bf3

Browse files
committed
Add reference to Emoji library in the README
1 parent 2a4e6c9 commit 2c90bf3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,13 @@ Let me know using this [Issue](https://github.com/Eleirbag89/TelegramBotPHP/issu
193193
Emoticons
194194
------------
195195
For a list of emoticons to use in your bot messages, please refer to the column Bytes of this table:
196-
http://apps.timwhitlock.info/emoji/tables/unicode
196+
http://apps.timwhitlock.info/emoji/tables/unicode
197+
Or you can include this [library](https://github.com/shanraisshan/EmojiCodeSheet/tree/master/php/procedural%20php/string) and use the defined constans:
198+
```php
199+
200+
include 'emojis/people.php';
201+
$content = array('chat_id' => $chat_id, 'text' => "Emoji" . PEOPLE_GRINNING_FACE);
202+
```
197203

198204
Contact me
199205
------------

0 commit comments

Comments
 (0)