2020-08-17 12:29:27 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
|
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
|
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Api {
|
|
|
|
|
|
|
|
void ToggleFavedSticker(
|
|
|
|
not_null<DocumentData*> document,
|
|
|
|
Data::FileOrigin origin);
|
|
|
|
|
|
|
|
void ToggleFavedSticker(
|
|
|
|
not_null<DocumentData*> document,
|
|
|
|
Data::FileOrigin origin,
|
|
|
|
bool faved);
|
|
|
|
|
2020-08-19 14:04:05 +00:00
|
|
|
void ToggleRecentSticker(
|
|
|
|
not_null<DocumentData*> document,
|
|
|
|
Data::FileOrigin origin,
|
|
|
|
bool saved);
|
|
|
|
|
2020-08-17 12:29:27 +00:00
|
|
|
void ToggleSavedGif(
|
|
|
|
not_null<DocumentData*> document,
|
|
|
|
Data::FileOrigin origin,
|
|
|
|
bool saved);
|
|
|
|
|
|
|
|
} // namespace Api
|