Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112029
matrix-sticker-pack-source.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
730 B
Referenced Files
None
Subscribers
None
matrix-sticker-pack-source.hpp
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2024 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include
<kazv-defs.hpp>
#include
<base/event.hpp>
struct
MatrixStickerPackSource
{
enum
Source
{
AccountData
,
RoomState
,
};
Source
source
;
std
::
string
eventType
;
Kazv
::
Event
event
;
/// the room id, only applicable when source is RoomState
std
::
string
roomId
;
/// the state key, only applicable when source is RoomState
std
::
string
stateKey
;
};
bool
operator
==
(
const
MatrixStickerPackSource
&
a
,
const
MatrixStickerPackSource
&
b
);
bool
operator
!=
(
const
MatrixStickerPackSource
&
a
,
const
MatrixStickerPackSource
&
b
);
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Fri, Nov 22, 9:32 PM (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38708
Default Alt Text
matrix-sticker-pack-source.hpp (730 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment