mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Support separate message type group restrictions.
This commit is contained in:
@@ -14,6 +14,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "core/file_location.h"
|
||||
#include "ui/image/image.h"
|
||||
|
||||
enum class ChatRestriction;
|
||||
class mtpFileLoader;
|
||||
|
||||
namespace Images {
|
||||
@@ -126,6 +127,8 @@ public:
|
||||
[[nodiscard]] bool loadedInMediaCache() const;
|
||||
void setLoadedInMediaCache(bool loaded);
|
||||
|
||||
[[nodiscard]] ChatRestriction requiredSendRight() const;
|
||||
|
||||
void setWaitingForAlbum();
|
||||
[[nodiscard]] bool waitingForAlbum() const;
|
||||
|
||||
|
Reference in New Issue
Block a user