Variables
PostReaction
PostReaction: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): PostReaction
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { owner?: string; postId?: string; shortCode?: string; value?: string }): PostReaction
-
Parameters
-
object: { owner?: string; postId?: string; shortCode?: string; value?: string }
-
Optional owner?: string
-
Optional postId?: string
-
Optional shortCode?: string
-
Optional value?: string
-
toJSON: function
-
Parameters
Returns unknown
RegisteredReaction
RegisteredReaction: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { creator?: string; shortCode?: string; subspace?: string; value?: string }): RegisteredReaction
-
Parameters
-
object: { creator?: string; shortCode?: string; subspace?: string; value?: string }
-
Optional creator?: string
-
Optional shortCode?: string
-
Optional subspace?: string
-
Optional value?: string
-
toJSON: function
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "desmos.posts.v1beta1" = 'desmos.posts.v1beta1'