2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Support sharing games by link to topics.

This commit is contained in:
John Preston
2022-11-01 13:00:17 +04:00
parent 83ec449890
commit 7384cd3463
16 changed files with 152 additions and 122 deletions

View File

@@ -22,6 +22,7 @@ class Session;
namespace Data {
class Session;
class Forum;
class Folder;
class ForumTopic;
class CloudImageView;
@@ -157,11 +158,13 @@ public:
[[nodiscard]] Main::Session &session() const;
History *asHistory();
Data::Forum *asForum();
Data::Folder *asFolder();
Data::Thread *asThread();
Data::ForumTopic *asTopic();
const History *asHistory() const;
const Data::Forum *asForum() const;
const Data::Folder *asFolder() const;
const Data::Thread *asThread() const;
const Data::ForumTopic *asTopic() const;