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:
parent
c13526103d
commit
e424c0d61e
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user