Search
Preparing search index...
The search index is not available
DesmosJS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
DesmosJS
lib/proto/desmos/posts/v1beta1/msgs
Module lib/proto/desmos/posts/v1beta1/msgs
Index
Classes
Msg
Client
Impl
Interfaces
Msg
Msg
Add
Post
Reaction
Msg
Add
Post
Reaction
Response
Msg
Answer
Poll
Msg
Answer
Poll
Response
Msg
Create
Post
Msg
Create
Post
Response
Msg
Edit
Post
Msg
Edit
Post
Response
Msg
Register
Reaction
Msg
Register
Reaction
Response
Msg
Remove
Post
Reaction
Msg
Remove
Post
Reaction
Response
Msg
Report
Post
Msg
Report
Post
Response
Type aliases
Deep
Partial
Variables
Msg
Add
Post
Reaction
Msg
Add
Post
Reaction
Response
Msg
Answer
Poll
Msg
Answer
Poll
Response
Msg
Create
Post
Msg
Create
Post
Response
Msg
Edit
Post
Msg
Edit
Post
Response
Msg
Register
Reaction
Msg
Register
Reaction
Response
Msg
Remove
Post
Reaction
Msg
Remove
Post
Reaction
Response
Msg
Report
Post
Msg
Report
Post
Response
protobuf
Package
Type aliases
Deep
Partial
Deep
Partial<T>
:
T
extends
Builtin
?
T
:
T
extends
infer
U
[]
?
DeepPartial
<
U
>
[]
:
T
extends
ReadonlyArray
<
infer
U
>
?
ReadonlyArray
<
DeepPartial
<
U
>
>
:
T
extends
{}
?
{
[
K
in
keyof
T
]
:
DeepPartial
<
T
[
K
]
>
}
:
Partial
<
T
>
Type parameters
T
Variables
Msg
Add
Post
Reaction
Msg
Add
Post
Reaction
:
{
decode
:
any
;
encode
:
any
;
fromJSON
:
any
;
fromPartial
:
any
;
toJSON
:
any
}
Type declaration
decode
:
function
decode
(
input
:
Uint8Array
|
Reader
, length
?:
number
)
:
MsgAddPostReaction
Parameters
input:
Uint8Array
|
Reader
Optional
length:
number
Returns
MsgAddPostReaction
encode
:
function
encode
(
message
:
MsgAddPostReaction
, writer
?:
Writer
)
:
Writer
Parameters
message:
MsgAddPostReaction
writer:
Writer
= ...
Returns
Writer
fromJSON
:
function
fromJSON
(
object
:
any
)
:
MsgAddPostReaction
Parameters
object:
any
Returns
MsgAddPostReaction
from
Partial
:
function
from
Partial
(
object
:
{
postId
?:
string
;
reaction
?:
string
;
user
?:
string
}
)
:
MsgAddPostReaction
Parameters
object:
{
postId
?:
string
;
reaction
?:
string
;
user
?:
string
}
Optional
post
Id
?:
string
Optional
reaction
?:
string
Optional
user
?:
string
Returns
MsgAddPostReaction
toJSON
:
function
toJSON
(
message
:
MsgAddPostReaction
)
:
unknown
Parameters
message:
MsgAddPostReaction
Returns
unknown
Msg
Add
Post
Reaction
Response
Msg
Add
Post
Reaction
Response
:
{
decode
:
any
;
encode
:
any
;
fromJSON
:
any
;
fromPartial
:
any
;
toJSON
:
any
}
Type declaration
decode
:
function
decode
(
input
:
Uint8Array
|
Reader
, length
?:
number
)
:
MsgAddPostReactionResponse
Parameters
input:
Uint8Array
|
Reader
Optional
length:
number
Returns
MsgAddPostReactionResponse
encode
:
function
encode
(
_
:
MsgAddPostReactionResponse
, writer
?:
Writer
)
:
Writer
Parameters
_:
MsgAddPostReactionResponse
writer:
Writer
= ...
Returns
Writer
fromJSON
:
function
fromJSON
(
_
:
any
)
:
MsgAddPostReactionResponse
Parameters
_:
any
Returns
MsgAddPostReactionResponse
from
Partial
:
function
from
Partial
(
_
:
{}
)
:
MsgAddPostReactionResponse
Parameters
_:
{}
Returns
MsgAddPostReactionResponse
toJSON
:
function
toJSON
(
_
:
MsgAddPostReactionResponse
)
:
unknown
Parameters
_:
MsgAddPostReactionResponse
Returns
unknown
Msg
Answer
Poll
Msg
Answer
Poll
:
{
decode
:
any
;
encode
:
any
;
fromJSON
:
any
;
fromPartial
:
any
;
toJSON
:
any
}
Type declaration
decode
:
function
decode
(
input
:
Uint8Array
|
Reader
, length
?:
number
)
:
MsgAnswerPoll
Parameters
input:
Uint8Array
|
Reader
Optional
length:
number
Returns
MsgAnswerPoll
encode
:
function
encode
(
message
:
MsgAnswerPoll
, writer
?:
Writer
)
:
Writer
Parameters
message:
MsgAnswerPoll
writer:
Writer
= ...
Returns
Writer
fromJSON
:
function
fromJSON
(
object
:
any
)
:
MsgAnswerPoll
Parameters
object:
any
Returns
MsgAnswerPoll
from
Partial
:
function
from
Partial
(
object
:
{
answerer
?:
string
;
answers
?:
string
[]
;
postId
?:
string
}
)
:
MsgAnswerPoll
Parameters
object:
{
answerer
?:
string
;
answers
?:
string
[]
;
postId
?:
string
}
Optional
answerer
?:
string
Optional
answers
?:
string
[]
Optional
post
Id
?:
string
Returns
MsgAnswerPoll
toJSON
:
function
toJSON
(
message
:
MsgAnswerPoll
)
:
unknown
Parameters
message:
MsgAnswerPoll
Returns
unknown
Msg
Answer
Poll
Response
Msg
Answer
Poll
Response
:
{
decode
:
any
;
encode
:
any
;
fromJSON
:
any
;
fromPartial
:
any
;
toJSON
:
any
}
Type declaration
decode
:
function
decode
(
input
:
Uint8Array
|
Reader
, length
?:
number
)
:
MsgAnswerPollResponse
Parameters
input:
Uint8Array
|
Reader
Optional
length:
number
Returns
MsgAnswerPollResponse
encode
:
function
encode
(
_
:
MsgAnswerPollResponse
, writer
?:
Writer
)
:
Writer
Parameters
_:
MsgAnswerPollResponse
writer:
Writer
= ...
Returns
Writer
fromJSON
:
function
fromJSON
(
_
:
any
)
:
MsgAnswerPollResponse
Parameters
_:
any
Returns
MsgAnswerPollResponse
from
Partial
:
function
from
Partial
(
_
:
{}
)
:
MsgAnswerPollResponse
Parameters
_:
{}
Returns
MsgAnswerPollResponse
toJSON
:
function
toJSON
(
_
:
MsgAnswerPollResponse
)
:
unknown
Parameters
_:
MsgAnswerPollResponse
Returns
unknown
Msg
Create
Post
Msg
Create
Post
:
{
decode
:
any
;
encode
:
any
;
fromJSON
:
any
;
fromPartial
:
any
;
toJSON
:
any
}
Type declaration
decode
:
function
decode
(
input
:
Uint8Array
|
Reader
, length
?:
number
)
:
MsgCreatePost
Parameters
input:
Uint8Array
|
Reader
Optional
length:
number
Returns
MsgCreatePost
encode
:
function
encode
(
message
:
MsgCreatePost
, writer
?:
Writer
)
:
Writer
Parameters
message:
MsgCreatePost
writer:
Writer
= ...
Returns
Writer
fromJSON
:
function
fromJSON
(
object
:
any
)
:
MsgCreatePost
Parameters
object:
any
Returns
MsgCreatePost
from
Partial
:
function
from
Partial
(
object
:
{
additionalAttributes
?:
{ key?: string | undefined; value?: string | undefined; }
[]
;
attachments
?:
{ uri?: string | undefined; mimeType?: string | undefined; tags?: string[] | undefined; }
[]
;
commentsState
?:
CommentsState
;
creator
?:
string
;
message
?:
string
;
parentId
?:
string
;
pollData
?:
{ question?: string | undefined; providedAnswers?: { answerId?: string | undefined; text?: string | undefined; }[] | undefined; endDate?: Date | undefined; allowsMultipleAnswers?: boolean | undefined; allowsAnswerEdits?: boolean | undefined; }
;
subspace
?:
string
}
)
:
MsgCreatePost
Parameters
object:
{
additionalAttributes
?:
{ key?: string | undefined; value?: string | undefined; }
[]
;
attachments
?:
{ uri?: string | undefined; mimeType?: string | undefined; tags?: string[] | undefined; }
[]
;
commentsState
?:
CommentsState
;
creator
?:
string
;
message
?:
string
;
parentId
?:
string
;
pollData
?:
{ question?: string | undefined; providedAnswers?: { answerId?: string | undefined; text?: string | undefined; }[] | undefined; endDate?: Date | undefined; allowsMultipleAnswers?: boolean | undefined; allowsAnswerEdits?: boolean | undefined; }
;
subspace
?:
string
}
Optional
additional
Attributes
?:
{ key?: string | undefined; value?: string | undefined; }
[]
Optional
attachments
?:
{ uri?: string | undefined; mimeType?: string | undefined; tags?: string[] | undefined; }
[]
Optional
comments
State
?:
CommentsState
Optional
creator
?:
string
Optional
message
?:
string
Optional
parent
Id
?:
string
Optional
poll
Data
?:
{ question?: string | undefined; providedAnswers?: { answerId?: string | undefined; text?: string | undefined; }[] | undefined; endDate?: Date | undefined; allowsMultipleAnswers?: boolean | undefined; allowsAnswerEdits?: boolean | undefined; }
Optional
subspace
?:
string
Returns
MsgCreatePost
toJSON
:
function
toJSON
(
message
:
MsgCreatePost
)
:
unknown
Parameters
message:
MsgCreatePost
Returns
unknown
Msg
Create
Post
Response
Msg
Create
Post
Response
:
{
decode
:
any
;
encode
:
any
;
fromJSON
:
any
;
fromPartial
:
any
;
toJSON
:
any
}
Type declaration
decode
:
function
decode
(
input
:
Uint8Array
|
Reader
, length
?:
number
)
:
MsgCreatePostResponse
Parameters
input:
Uint8Array
|
Reader
Optional
length:
number
Returns
MsgCreatePostResponse
encode
:
function
encode
(
_
:
MsgCreatePostResponse
, writer
?:
Writer
)
:
Writer
Parameters
_:
MsgCreatePostResponse
writer:
Writer
= ...
Returns
Writer
fromJSON
:
function
fromJSON
(
_
:
any
)
:
MsgCreatePostResponse
Parameters
_:
any
Returns
MsgCreatePostResponse
from
Partial
:
function
from
Partial
(
_
:
{}
)
:
MsgCreatePostResponse
Parameters
_:
{}
Returns
MsgCreatePostResponse
toJSON
:
function
toJSON
(
_
:
MsgCreatePostResponse
)
:
unknown
Parameters
_:
MsgCreatePostResponse
Returns
unknown
Msg
Edit
Post
Msg
Edit
Post
:
{
decode
:
any
;
encode
:
any
;
fromJSON
:
any
;
fromPartial
:
any
;
toJSON
:
any
}
Type declaration
decode
:
function
decode
(
input
:
Uint8Array
|
Reader
, length
?:
number
)
:
MsgEditPost
Parameters
input:
Uint8Array
|
Reader
Optional
length:
number
Returns
MsgEditPost
encode
:
function
encode
(
message
:
MsgEditPost
, writer
?:
Writer
)
:
Writer
Parameters
message:
MsgEditPost
writer:
Writer
= ...
Returns
Writer
fromJSON
:
function
fromJSON
(
object
:
any
)
:
MsgEditPost
Parameters
object:
any
Returns
MsgEditPost
from
Partial
:
function
from
Partial
(
object
:
{
attachments
?:
{ uri?: string | undefined; mimeType?: string | undefined; tags?: string[] | undefined; }
[]
;
commentsState
?:
CommentsState
;
editor
?:
string
;
message
?:
string
;
pollData
?:
{ question?: string | undefined; providedAnswers?: { answerId?: string | undefined; text?: string | undefined; }[] | undefined; endDate?: Date | undefined; allowsMultipleAnswers?: boolean | undefined; allowsAnswerEdits?: boolean | undefined; }
;
postId
?:
string
}
)
:
MsgEditPost
Parameters
object:
{
attachments
?:
{ uri?: string | undefined; mimeType?: string | undefined; tags?: string[] | undefined; }
[]
;
commentsState
?:
CommentsState
;
editor
?:
string
;
message
?:
string
;
pollData
?:
{ question?: string | undefined; providedAnswers?: { answerId?: string | undefined; text?: string | undefined; }[] | undefined; endDate?: Date | undefined; allowsMultipleAnswers?: boolean | undefined; allowsAnswerEdits?: boolean | undefined; }
;
postId
?:
string
}
Optional
attachments
?:
{ uri?: string | undefined; mimeType?: string | undefined; tags?: string[] | undefined; }
[]
Optional
comments
State
?:
CommentsState
Optional
editor
?:
string
Optional
message
?:
string
Optional
poll
Data
?:
{ question?: string | undefined; providedAnswers?: { answerId?: string | undefined; text?: string | undefined; }[] | undefined; endDate?: Date | undefined; allowsMultipleAnswers?: boolean | undefined; allowsAnswerEdits?: boolean | undefined; }
Optional
post
Id
?:
string
Returns
MsgEditPost
toJSON
:
function
toJSON
(
message
:
MsgEditPost
)
:
unknown
Parameters
message:
MsgEditPost
Returns
unknown
Msg
Edit
Post
Response
Msg
Edit
Post
Response
:
{
decode
:
any
;
encode
:
any
;
fromJSON
:
any
;
fromPartial
:
any
;
toJSON
:
any
}
Type declaration
decode
:
function
decode
(
input
:
Uint8Array
|
Reader
, length
?:
number
)
:
MsgEditPostResponse
Parameters
input:
Uint8Array
|
Reader
Optional
length:
number
Returns
MsgEditPostResponse
encode
:
function
encode
(
_
:
MsgEditPostResponse
, writer
?:
Writer
)
:
Writer
Parameters
_:
MsgEditPostResponse
writer:
Writer
= ...
Returns
Writer
fromJSON
:
function
fromJSON
(
_
:
any
)
:
MsgEditPostResponse
Parameters
_:
any
Returns
MsgEditPostResponse
from
Partial
:
function
from
Partial
(
_
:
{}
)
:
MsgEditPostResponse
Parameters
_:
{}
Returns
MsgEditPostResponse
toJSON
:
function
toJSON
(
_
:
MsgEditPostResponse
)
:
unknown
Parameters
_:
MsgEditPostResponse
Returns
unknown
Msg
Register
Reaction
Msg
Register
Reaction
:
{
decode
:
any
;
encode
:
any
;
fromJSON
:
any
;
fromPartial
:
any
;
toJSON
:
any
}
Type declaration
decode
:
function
decode
(
input
:
Uint8Array
|
Reader
, length
?:
number
)
:
MsgRegisterReaction
Parameters
input:
Uint8Array
|
Reader
Optional
length:
number
Returns
MsgRegisterReaction
encode
:
function
encode
(
message
:
MsgRegisterReaction
, writer
?:
Writer
)
:
Writer
Parameters
message:
MsgRegisterReaction
writer:
Writer
= ...
Returns
Writer
fromJSON
:
function
fromJSON
(
object
:
any
)
:
MsgRegisterReaction
Parameters
object:
any
Returns
MsgRegisterReaction
from
Partial
:
function
from
Partial
(
object
:
{
creator
?:
string
;
shortCode
?:
string
;
subspace
?:
string
;
value
?:
string
}
)
:
MsgRegisterReaction
Parameters
object:
{
creator
?:
string
;
shortCode
?:
string
;
subspace
?:
string
;
value
?:
string
}
Optional
creator
?:
string
Optional
short
Code
?:
string
Optional
subspace
?:
string
Optional
value
?:
string
Returns
MsgRegisterReaction
toJSON
:
function
toJSON
(
message
:
MsgRegisterReaction
)
:
unknown
Parameters
message:
MsgRegisterReaction
Returns
unknown
Msg
Register
Reaction
Response
Msg
Register
Reaction
Response
:
{
decode
:
any
;
encode
:
any
;
fromJSON
:
any
;
fromPartial
:
any
;
toJSON
:
any
}
Type declaration
decode
:
function
decode
(
input
:
Uint8Array
|
Reader
, length
?:
number
)
:
MsgRegisterReactionResponse
Parameters
input:
Uint8Array
|
Reader
Optional
length:
number
Returns
MsgRegisterReactionResponse
encode
:
function
encode
(
_
:
MsgRegisterReactionResponse
, writer
?:
Writer
)
:
Writer
Parameters
_:
MsgRegisterReactionResponse
writer:
Writer
= ...
Returns
Writer
fromJSON
:
function
fromJSON
(
_
:
any
)
:
MsgRegisterReactionResponse
Parameters
_:
any
Returns
MsgRegisterReactionResponse
from
Partial
:
function
from
Partial
(
_
:
{}
)
:
MsgRegisterReactionResponse
Parameters
_:
{}
Returns
MsgRegisterReactionResponse
toJSON
:
function
toJSON
(
_
:
MsgRegisterReactionResponse
)
:
unknown
Parameters
_:
MsgRegisterReactionResponse
Returns
unknown
Msg
Remove
Post
Reaction
Msg
Remove
Post
Reaction
:
{
decode
:
any
;
encode
:
any
;
fromJSON
:
any
;
fromPartial
:
any
;
toJSON
:
any
}
Type declaration
decode
:
function
decode
(
input
:
Uint8Array
|
Reader
, length
?:
number
)
:
MsgRemovePostReaction
Parameters
input:
Uint8Array
|
Reader
Optional
length:
number
Returns
MsgRemovePostReaction
encode
:
function
encode
(
message
:
MsgRemovePostReaction
, writer
?:
Writer
)
:
Writer
Parameters
message:
MsgRemovePostReaction
writer:
Writer
= ...
Returns
Writer
fromJSON
:
function
fromJSON
(
object
:
any
)
:
MsgRemovePostReaction
Parameters
object:
any
Returns
MsgRemovePostReaction
from
Partial
:
function
from
Partial
(
object
:
{
postId
?:
string
;
reaction
?:
string
;
user
?:
string
}
)
:
MsgRemovePostReaction
Parameters
object:
{
postId
?:
string
;
reaction
?:
string
;
user
?:
string
}
Optional
post
Id
?:
string
Optional
reaction
?:
string
Optional
user
?:
string
Returns
MsgRemovePostReaction
toJSON
:
function
toJSON
(
message
:
MsgRemovePostReaction
)
:
unknown
Parameters
message:
MsgRemovePostReaction
Returns
unknown
Msg
Remove
Post
Reaction
Response
Msg
Remove
Post
Reaction
Response
:
{
decode
:
any
;
encode
:
any
;
fromJSON
:
any
;
fromPartial
:
any
;
toJSON
:
any
}
Type declaration
decode
:
function
decode
(
input
:
Uint8Array
|
Reader
, length
?:
number
)
:
MsgRemovePostReactionResponse
Parameters
input:
Uint8Array
|
Reader
Optional
length:
number
Returns
MsgRemovePostReactionResponse
encode
:
function
encode
(
_
:
MsgRemovePostReactionResponse
, writer
?:
Writer
)
:
Writer
Parameters
_:
MsgRemovePostReactionResponse
writer:
Writer
= ...
Returns
Writer
fromJSON
:
function
fromJSON
(
_
:
any
)
:
MsgRemovePostReactionResponse
Parameters
_:
any
Returns
MsgRemovePostReactionResponse
from
Partial
:
function
from
Partial
(
_
:
{}
)
:
MsgRemovePostReactionResponse
Parameters
_:
{}
Returns
MsgRemovePostReactionResponse
toJSON
:
function
toJSON
(
_
:
MsgRemovePostReactionResponse
)
:
unknown
Parameters
_:
MsgRemovePostReactionResponse
Returns
unknown
Msg
Report
Post
Msg
Report
Post
:
{
decode
:
any
;
encode
:
any
;
fromJSON
:
any
;
fromPartial
:
any
;
toJSON
:
any
}
Type declaration
decode
:
function
decode
(
input
:
Uint8Array
|
Reader
, length
?:
number
)
:
MsgReportPost
Parameters
input:
Uint8Array
|
Reader
Optional
length:
number
Returns
MsgReportPost
encode
:
function
encode
(
message
:
MsgReportPost
, writer
?:
Writer
)
:
Writer
Parameters
message:
MsgReportPost
writer:
Writer
= ...
Returns
Writer
fromJSON
:
function
fromJSON
(
object
:
any
)
:
MsgReportPost
Parameters
object:
any
Returns
MsgReportPost
from
Partial
:
function
from
Partial
(
object
:
{
message
?:
string
;
postId
?:
string
;
reportType
?:
string
;
user
?:
string
}
)
:
MsgReportPost
Parameters
object:
{
message
?:
string
;
postId
?:
string
;
reportType
?:
string
;
user
?:
string
}
Optional
message
?:
string
Optional
post
Id
?:
string
Optional
report
Type
?:
string
Optional
user
?:
string
Returns
MsgReportPost
toJSON
:
function
toJSON
(
message
:
MsgReportPost
)
:
unknown
Parameters
message:
MsgReportPost
Returns
unknown
Msg
Report
Post
Response
Msg
Report
Post
Response
:
{
decode
:
any
;
encode
:
any
;
fromJSON
:
any
;
fromPartial
:
any
;
toJSON
:
any
}
Type declaration
decode
:
function
decode
(
input
:
Uint8Array
|
Reader
, length
?:
number
)
:
MsgReportPostResponse
Parameters
input:
Uint8Array
|
Reader
Optional
length:
number
Returns
MsgReportPostResponse
encode
:
function
encode
(
_
:
MsgReportPostResponse
, writer
?:
Writer
)
:
Writer
Parameters
_:
MsgReportPostResponse
writer:
Writer
= ...
Returns
Writer
fromJSON
:
function
fromJSON
(
_
:
any
)
:
MsgReportPostResponse
Parameters
_:
any
Returns
MsgReportPostResponse
from
Partial
:
function
from
Partial
(
_
:
{}
)
:
MsgReportPostResponse
Parameters
_:
{}
Returns
MsgReportPostResponse
toJSON
:
function
toJSON
(
_
:
MsgReportPostResponse
)
:
unknown
Parameters
_:
MsgReportPostResponse
Returns
unknown
Const
protobuf
Package
protobuf
Package
:
"desmos.posts.v1beta1"
= 'desmos.posts.v1beta1'
Exports
lib/proto/desmos/posts/v1beta1/msgs
Msg
Client
Impl
Msg
Msg
Add
Post
Reaction
Msg
Add
Post
Reaction
Response
Msg
Answer
Poll
Msg
Answer
Poll
Response
Msg
Create
Post
Msg
Create
Post
Response
Msg
Edit
Post
Msg
Edit
Post
Response
Msg
Register
Reaction
Msg
Register
Reaction
Response
Msg
Remove
Post
Reaction
Msg
Remove
Post
Reaction
Response
Msg
Report
Post
Msg
Report
Post
Response
Deep
Partial
Msg
Add
Post
Reaction
Msg
Add
Post
Reaction
Response
Msg
Answer
Poll
Msg
Answer
Poll
Response
Msg
Create
Post
Msg
Create
Post
Response
Msg
Edit
Post
Msg
Edit
Post
Response
Msg
Register
Reaction
Msg
Register
Reaction
Response
Msg
Remove
Post
Reaction
Msg
Remove
Post
Reaction
Response
Msg
Report
Post
Msg
Report
Post
Response
protobuf
Package
Generated using
TypeDoc