mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 05:34:42 +01:00
change add/remove to save/unsave method
This commit is contained in:
parent
c13526103d
commit
e424c0d61e
@ -49,7 +49,7 @@ final class Gif extends AbstractVideo
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function add(): bool
|
||||
public function save(): bool
|
||||
{
|
||||
return $this->getClient()->methodCallAsyncRead(
|
||||
'messages.saveGif',
|
||||
@ -65,7 +65,7 @@ final class Gif extends AbstractVideo
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function remove(): bool
|
||||
public function unsave(): bool
|
||||
{
|
||||
return $this->getClient()->methodCallAsyncRead(
|
||||
'messages.saveGif',
|
||||
|
Loading…
Reference in New Issue
Block a user