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
{{ message }}
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-10Lines changed: 4 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,25 +15,19 @@ None at the moment. If you find any, feel free to [submit a PR](https://github.c
15
15
16
16
### About this class
17
17
18
-
* Enables you to send messages, stickers, locationand other methods via PHP to a Telegram user (either direct conversation, channelor group).
18
+
* Enables you to anything supported by the Telegram Bot API: messages, stickers, location, inline bots and any other supported method via PHP to a Telegram user (either direct conversation, channel, group or supergroup).
19
19
* Respects and implements the default types and methods made by Telegram itself. Have any doubts about any method? [Just check the original documentation](https://core.telegram.org/bots/api), this implementation will not differ too much.
20
20
* Doesn't need any dependency, except for Guzzle, which you can inyect if you already use it elsewhere.
21
21
***Full** inline bots support!
22
22
23
-
### Detailed description
24
-
25
-
This project was born to study the new concepts of PHP7 and to integrate some other knowledge I had previously heard
26
-
about but didn't have the time to play with them. The idea behind was to create a simple to use class which could
27
-
play nicely with the Telegram API. The end result however ended up being a complete bot API implementation.
28
-
29
23
## Installation
30
24
31
25
The preferred method is composer, so add the following to your composer.json:
32
26
33
27
```json
34
28
{
35
29
"require": {
36
-
"unreal4u/telegram-api": "~2.1"
30
+
"unreal4u/telegram-api": "~2.3"
37
31
}
38
32
}
39
33
```
@@ -67,7 +61,7 @@ Different methods return different object types.
67
61
Please refer to the [examples directory](https://github.com/unreal4u/telegram-api/tree/master/examples) to view examples
68
62
of some of the implemented methods, including inline bots.
69
63
70
-
For examples of actual code that works in a production environment, please refer to my other repo: https://github.com/unreal4u/tg-timebot
64
+
For examples of actual code that works in a production environment, please refer to my other repo: https://github.com/unreal4u/telegram-bots
71
65
72
66
### Getting updates via Webhook
73
67
@@ -76,7 +70,7 @@ more information on this.
76
70
77
71
### Inline bots
78
72
79
-
Please checkout the [special wiki page](https://github.com/unreal4u/telegram-api/wiki/Inline-Bots) about Inline bots.
73
+
Please checkout the [special wiki page](https://github.com/unreal4u/telegram-api/wiki/Inline-Bots) about inline bots.
0 commit comments