Variables
Report
Report: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Report
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Report, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { message?: string; postId?: string; type?: string; user?: string }): Report
-
Parameters
-
object: { message?: string; postId?: string; type?: string; user?: string }
-
Optional message?: string
-
Optional postId?: string
-
Optional type?: string
-
Optional user?: string
-
toJSON: function
- toJSON(message: Report): unknown
-
Parameters
Returns unknown
Reports
Reports: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Reports
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Reports, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { reports?: { postId?: string | undefined; type?: string | undefined; message?: string | undefined; user?: string | undefined; }[] }): Reports
-
Parameters
-
object: { reports?: { postId?: string | undefined; type?: string | undefined; message?: string | undefined; user?: string | undefined; }[] }
-
Optional reports?: { postId?: string | undefined; type?: string | undefined; message?: string | undefined; user?: string | undefined; }[]
-
toJSON: function
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "desmos.posts.v1beta1" = 'desmos.posts.v1beta1'
User message