Preparing search index...
The search index is not available
@xmtp/react-native-sdk
@xmtp/react-native-sdk
DecodedMessage
Class DecodedMessage<ContentTypes>
Type Parameters
ContentTypes
extends
DefaultContentTypes
=
DefaultContentTypes
Index
Constructors
constructor
Properties
client
content
Type
Id
delivery
Status
fallback
id
native
Content
sender
Address
sent
Ns
topic
Methods
content
from
from
Object
Constructors
constructor
new
Decoded
Message
<
ContentTypes
>
(
client
,
id
,
topic
,
contentTypeId
,
senderAddress
,
sentNs
,
content
,
fallback
,
deliveryStatus
?
)
:
DecodedMessage
<
ContentTypes
>
Type Parameters
ContentTypes
extends
DefaultContentTypes
=
DefaultContentTypes
Parameters
client
:
Client
<
ContentTypes
>
id
:
string
topic
:
string
contentTypeId
:
string
senderAddress
:
string
sentNs
:
number
content
:
any
fallback
:
undefined
|
string
deliveryStatus
:
MessageDeliveryStatus
= MessageDeliveryStatus.PUBLISHED
Returns
DecodedMessage
<
ContentTypes
>
Properties
client
client
:
Client
<
ContentTypes
>
content
Type
Id
content
Type
Id
:
string
delivery
Status
delivery
Status
:
MessageDeliveryStatus
= MessageDeliveryStatus.PUBLISHED
fallback
fallback
:
undefined
|
string
id
id
:
string
native
Content
native
Content
:
NativeMessageContent
sender
Address
sender
Address
:
string
sent
Ns
sent
Ns
:
number
topic
topic
:
string
Methods
content
content
(
)
:
ExtractDecodedType
<
[
...
ContentTypes
[]
,
TextCodec
]
[
number
]
>
Returns
ExtractDecodedType
<
[
...
ContentTypes
[]
,
TextCodec
]
[
number
]
>
Static
from
from
<
ContentTypes
>
(
json
,
client
)
:
DecodedMessage
<
ContentTypes
>
Type Parameters
ContentTypes
extends
DefaultContentTypes
=
DefaultContentTypes
Parameters
json
:
string
client
:
Client
<
ContentTypes
>
Returns
DecodedMessage
<
ContentTypes
>
Static
from
Object
from
Object
<
ContentTypes
>
(
object
,
client
)
:
DecodedMessage
<
ContentTypes
>
Type Parameters
ContentTypes
extends
DefaultContentTypes
=
DefaultContentTypes
Parameters
object
:
{
content
:
any
;
contentTypeId
:
string
;
deliveryStatus
:
undefined
|
MessageDeliveryStatus
;
fallback
:
undefined
|
string
;
id
:
string
;
senderAddress
:
string
;
sentNs
:
number
;
topic
:
string
;
}
content
:
any
content
Type
Id
:
string
delivery
Status
:
undefined
|
MessageDeliveryStatus
fallback
:
undefined
|
string
id
:
string
sender
Address
:
string
sent
Ns
:
number
topic
:
string
client
:
Client
<
ContentTypes
>
Returns
DecodedMessage
<
ContentTypes
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
constructor
client
content
Type
Id
delivery
Status
fallback
id
native
Content
sender
Address
sent
Ns
topic
content
from
from
Object
@xmtp/react-native-sdk
ConversationVersion
MessageDeliveryStatus
Client
ConsentListEntry
DecodedMessage
Dm
Group
GroupUpdatedCodec
Member
ReactionCodec
ReadReceiptCodec
RemoteAttachmentCodec
ReplyCodec
StaticAttachmentCodec
TextCodec
XMTPPush
JSContentCodec
NativeContentCodec
Signer
XmtpContextValue
Address
Loading...
Generated using
TypeDoc