mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 07:51:14 +01:00
Move
This commit is contained in:
parent
332c1916ef
commit
01d4cfd776
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit 2474119d22e692ebbd83f1281e3c732b51791423
|
||||
Subproject commit 12c8f4fb267b6b97dca000eb497415b656b7750b
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user