Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
TelegramBot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
TelegramBot
Commits
bce79590
Commit
bce79590
authored
Sep 11, 2017
by
Armando Lüscher
Committed by
GitHub
Sep 11, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into clean_db_code
parents
08f4f3d7
57858427
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+4
-4
No files found.
README.md
View file @
bce79590
...
...
@@ -24,7 +24,7 @@ A Telegram Bot based on the official [Telegram Bot API][Telegram-Bot-API]
-
[
Webhook installation
](
#webhook-installation
)
-
[
Self Signed Certificate
](
#self-signed-certificate
)
-
[
Unset Webhook
](
#unset-webhook
)
-
[
getUpdate
installation
](
#getupdate
-installation
)
-
[
getUpdate
s installation
](
#getupdates
-installation
)
-
[
Support
](
#support
)
-
[
Types
](
#types
)
-
[
Inline Query
](
#inline-query
)
...
...
@@ -71,7 +71,7 @@ Bot aims to provide a platform where one can simply write a plugin
and have interactions in a matter of minutes.
The Bot can:
-
retrieve updates with webhook and getUpdate methods.
-
retrieve updates with webhook and getUpdate
s
methods.
-
supports all types and methods according to Telegram API (25 May 2016).
-
supports supergroups.
-
handle commands in chat with other bots.
...
...
@@ -180,7 +180,7 @@ composer require longman/telegram-bot
The bot can handle updates with
**Webhook**
or
**getUpdates**
method:
| | Webhook | getUpdate |
| | Webhook | getUpdate
s
|
| ---- | :----: | :----: |
| Description | Telegram sends the updates directly to your host | You have to fetch Telegram updates manually |
| Host with https | Required | Not required |
...
...
@@ -281,7 +281,7 @@ try {
// Enable MySQL
$telegram
->
enableMySql
(
$mysql_credentials
);
// Handle telegram getUpdate request
// Handle telegram getUpdate
s
request
$telegram
->
handleGetUpdates
();
}
catch
(
Longman\TelegramBot\Exception\TelegramException
$e
)
{
// log telegram errors
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment