Commit d206fd5a authored by Armando Lüscher's avatar Armando Lüscher

Message type array removed because it's not needed.

parent bd355a3b
...@@ -125,18 +125,6 @@ class Telegram ...@@ -125,18 +125,6 @@ class Telegram
*/ */
protected $commands_config; 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 * Admins list
* *
...@@ -765,14 +753,4 @@ class Telegram ...@@ -765,14 +753,4 @@ class Telegram
return $result; return $result;
} }
/**
* Get available message types
*
* @return array
*/
public function getMessageTypes()
{
return $this->message_types;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment