You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> A very simple PHP [Telegram Bot API](https://core.telegram.org/bots).
11
-
> Compliant with the August 23, 2017 Telegram Bot API update.
10
+
A very simple PHP [Telegram Bot API](https://core.telegram.org/bots).
11
+
Compliant with the August 23, 2017 Telegram Bot API update.
12
12
13
13
Requirements
14
14
---------
15
15
16
-
*PHP5
17
-
* Curl for PHP5 must be enabled.
16
+
*PHP >= 5.3
17
+
* Curl extension for PHP5 must be enabled.
18
18
* Telegram API key, you can get one simply with [@BotFather](https://core.telegram.org/bots#botfather) with simple commands right after creating your bot.
19
19
20
20
For the WebHook:
21
-
* An SSL certificate (Telegram API requires this). You can use [Cloudflare's Free Flexible SSL](https://www.cloudflare.com/ssl) which crypts the web traffic from end user to their proxies if you're using CloudFlare DNS.
21
+
* An VALID SSL certificate (Telegram API requires this). You can use [Cloudflare's Free Flexible SSL](https://www.cloudflare.com/ssl) which crypts the web traffic from end user to their proxies if you're using CloudFlare DNS.
22
22
Since the August 29 update you can use a self-signed ssl certificate.
23
23
24
-
For the GetUpdates:
24
+
For the getUpdates(Long Polling):
25
25
* Some way to execute the script in order to serve messages (for example cronjob)
@@ -113,6 +148,7 @@ For a complete and up-to-date functions documentation check http://eleirbag89.gi
113
148
114
149
Build keyboards
115
150
------------
151
+
116
152
Telegram's bots can have two different kind of keyboards: Inline and Reply.
117
153
The InlineKeyboard is linked to a particular message, while the ReplyKeyboard is linked to the whole chat.
118
154
They are both an array of array of buttons, which rapresent the rows and columns.
@@ -187,6 +223,7 @@ Check [ForceReply](https://core.telegram.org/bots/api#forcereply) for more info.
187
223
188
224
List of Bots using the library
189
225
------------
226
+
190
227
Let me know using this [Issue](https://github.com/Eleirbag89/TelegramBotPHP/issues/80) if you have made a bot using this API, I will add it to this section.
191
228
*[Notifyadbot](https://telegram.me/notifyadbot) - Lang : Persian/Farsi (Down as 16/09/17)
192
229
*[Partners_shakibonline_bot](https://telegram.me/Partners_shakibonline_bot) - Lang : Persian/Farsi (Down as 16/09/17)
@@ -204,12 +241,29 @@ Emoticons
204
241
For a list of emoticons to use in your bot messages, please refer to the column Bytes of this table:
205
242
http://apps.timwhitlock.info/emoji/tables/unicode
206
243
244
+
License
245
+
------------
246
+
247
+
This open-source software is distributed under the MIT License. See LICENSE.md
248
+
249
+
Contributing
250
+
------------
251
+
252
+
All kinds of contributions are welcome - code, tests, documentation, bug reports, new features, etc...
253
+
254
+
* Send feedbacks.
255
+
* Submit bug reports.
256
+
* Write/Edit the documents.
257
+
* Fix bugs or add new features.
258
+
207
259
Contact me
208
260
------------
261
+
209
262
You can contact me [via Telegram](https://telegram.me/ggrillo) but if you have an issue please [open](https://github.com/Eleirbag89/TelegramBotPHP/issues) one.
210
263
211
264
Support me
212
265
------------
266
+
213
267
You can buy me a beer or two using [Paypal](https://paypal.me/eleirbag89)
0 commit comments