forked from foamrider/osticket-telegram
-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Jaime edited this page Apr 2, 2020
·
1 revision
Example Telgram Bot URL : https://api.telegram.org/bot1234567:AAEExQ1o9K1w-abcdefghijklmn/
Example Chat ID : @channelname or -12345678
If you get this error:
Content cannot start with the following characters: = - + @
Edit file: include/class.validator.php Search this function
static function is_formula($text, &$error='') {
if (!preg_match('/^[^=\+@-].*$/s', $text))
$error = __('Content cannot start with the following characters: = - + @');
return $error == '';
}
Line 223 Remove characters @-