multipleExplodeKeepDelimiters

This commit is contained in:
Daniil Gentili 2017-04-28 17:26:52 +02:00 committed by GitHub
parent c031d8bc44
commit e404767a06

View File

@ -452,7 +452,7 @@ trait BotAPI
public function split_to_chunks($text)
{
$total_length = 4096;
$text_arr = multipleExplodeKeepDelimiters(["\n"], $text);
$text_arr = $this->multipleExplodeKeepDelimiters(["\n"], $text);
$i = 0;
$message[0] = '';
foreach ($text_arr as $word) {