1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 07:14:39 +01:00

change add/remove to save/unsave method

This commit is contained in:
َAhJ 2023-08-30 13:07:03 +03:30
parent c13526103d
commit e424c0d61e

View File

@ -49,7 +49,7 @@ final class Gif extends AbstractVideo
* *
* @return bool * @return bool
*/ */
public function add(): bool public function save(): bool
{ {
return $this->getClient()->methodCallAsyncRead( return $this->getClient()->methodCallAsyncRead(
'messages.saveGif', 'messages.saveGif',
@ -65,7 +65,7 @@ final class Gif extends AbstractVideo
* *
* @return bool * @return bool
*/ */
public function remove(): bool public function unsave(): bool
{ {
return $this->getClient()->methodCallAsyncRead( return $this->getClient()->methodCallAsyncRead(
'messages.saveGif', 'messages.saveGif',