1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-23 05:11:26 +01:00
This commit is contained in:
Daniil Gentili 2022-05-17 22:18:25 +02:00
parent 332c1916ef
commit 01d4cfd776
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 3 additions and 3 deletions

2
docs

@ -1 +1 @@
Subproject commit 2474119d22e692ebbd83f1281e3c732b51791423
Subproject commit 12c8f4fb267b6b97dca000eb497415b656b7750b

View File

@ -6898,7 +6898,7 @@ class InternalDoc extends APIFactory
*/
public function mbStrSplit(string $text, int $length): array
{
return \danog\MadelineProto\MTProto::mbStrSplit($text, $length);
return \danog\MadelineProto\StrTools::mbStrSplit($text, $length);
}
/**
* Get Telegram UTF-8 length of string.
@ -6922,7 +6922,7 @@ class InternalDoc extends APIFactory
*/
public function mbSubstr(string $text, int $offset, $length = null): string
{
return \danog\MadelineProto\MTProto::mbSubstr($text, $offset, $length);
return \danog\MadelineProto\StrTools::mbSubstr($text, $offset, $length);
}
/**
* Call method and wait asynchronously for response.