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
d206fd5a
Commit
d206fd5a
authored
Feb 20, 2016
by
Armando Lüscher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Message type array removed because it's not needed.
parent
bd355a3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
Telegram.php
src/Telegram.php
+0
-22
No files found.
src/Telegram.php
View file @
d206fd5a
...
...
@@ -125,18 +125,6 @@ class Telegram
*/
protected
$commands_config
;
/**
* Message types
*
* @var array
*/
protected
$message_types
=
[
'Message'
,
'Photo'
,
'Audio'
,
'Document'
,
'Sticker'
,
'Video'
,
'Voice'
,
'Location'
,
'command'
,
'new_chat_participant'
,
'left_chat_participant'
,
'new_chat_title'
,
'delete_chat_photo'
,
'group_chat_created'
,
'supergroup_chat_created'
,
'channel_chat_created'
,
];
/**
* Admins list
*
...
...
@@ -765,14 +753,4 @@ class Telegram
return
$result
;
}
/**
* Get available message types
*
* @return array
*/
public
function
getMessageTypes
()
{
return
$this
->
message_types
;
}
}
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