Documentation
Preparing search index...
@waku/sds
EphemeralMessage
Class EphemeralMessage
Hierarchy (
View Summary
)
Message
EphemeralMessage
Index
Constructors
constructor
Properties
bloom
Filter
causal
History
channel
Id
content
lamport
Timestamp
message
Id
repair
Request
retrieval
Hint?
sender
Id
Methods
encode
decode
Constructors
constructor
new
EphemeralMessage
(
messageId
:
string
,
channelId
:
string
,
senderId
:
string
,
causalHistory
:
HistoryEntry
[]
,
lamportTimestamp
:
undefined
,
bloomFilter
:
undefined
|
Uint8Array
<
ArrayBufferLike
>
,
content
:
Uint8Array
<
ArrayBufferLike
>
,
repairRequest
?:
HistoryEntry
[]
,
retrievalHint
?:
Uint8Array
<
ArrayBufferLike
>
,
)
:
EphemeralMessage
Parameters
messageId
:
string
channelId
:
string
senderId
:
string
causalHistory
:
HistoryEntry
[]
lamportTimestamp
:
undefined
bloomFilter
:
undefined
|
Uint8Array
<
ArrayBufferLike
>
content
:
Uint8Array
<
ArrayBufferLike
>
repairRequest
:
HistoryEntry
[]
= []
Optional
retrievalHint
:
Uint8Array
<
ArrayBufferLike
>
Not encoded, set after it is sent, used to include in follow-up messages
Returns
EphemeralMessage
Properties
bloom
Filter
bloomFilter
:
undefined
|
Uint8Array
<
ArrayBufferLike
>
causal
History
causalHistory
:
HistoryEntry
[]
channel
Id
channelId
:
string
content
content
:
Uint8Array
<
ArrayBufferLike
>
lamport
Timestamp
lamportTimestamp
:
undefined
message
Id
messageId
:
string
repair
Request
repairRequest
:
HistoryEntry
[]
= []
Optional
retrieval
Hint
retrievalHint
?:
Uint8Array
<
ArrayBufferLike
>
Not encoded, set after it is sent, used to include in follow-up messages
sender
Id
senderId
:
string
Methods
encode
encode
()
:
Uint8Array
Returns
Uint8Array
Static
decode
decode
(
data
:
Uint8Array
,
)
:
undefined
|
ContentMessage
|
SyncMessage
|
EphemeralMessage
Parameters
data
:
Uint8Array
Returns
undefined
|
ContentMessage
|
SyncMessage
|
EphemeralMessage
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
bloom
Filter
causal
History
channel
Id
content
lamport
Timestamp
message
Id
repair
Request
retrieval
Hint
sender
Id
Methods
encode
decode
Documentation
Loading...
Not encoded, set after it is sent, used to include in follow-up messages