mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 00:46:08 +00:00
Simplified FileOriginStory.
This commit is contained in:
@@ -13,6 +13,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
namespace Data {
|
||||
|
||||
using FileOriginMessage = FullMsgId;
|
||||
using FileOriginStory = FullStoryId;
|
||||
|
||||
struct FileOriginUserPhoto {
|
||||
FileOriginUserPhoto(UserId userId, PhotoId photoId)
|
||||
@@ -120,20 +121,6 @@ struct FileOriginPremiumPreviews {
|
||||
}
|
||||
};
|
||||
|
||||
struct FileOriginStory {
|
||||
FileOriginStory(PeerId peerId, StoryId storyId)
|
||||
: peerId(peerId)
|
||||
, storyId(storyId) {
|
||||
}
|
||||
|
||||
PeerId peerId = 0;
|
||||
StoryId storyId = 0;
|
||||
|
||||
friend inline auto operator<=>(
|
||||
FileOriginStory,
|
||||
FileOriginStory) = default;
|
||||
};
|
||||
|
||||
struct FileOrigin {
|
||||
using Variant = std::variant<
|
||||
v::null_t,
|
||||
|
Reference in New Issue
Block a user