Variables
Pictures
Pictures: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Pictures
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Pictures, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { cover?: string; profile?: string }): Pictures
-
Parameters
-
object: { cover?: string; profile?: string }
-
Optional cover?: string
-
Optional profile?: string
-
toJSON: function
-
Parameters
Returns unknown
Profile
Profile: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Profile
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Profile, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { account?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; bio?: string; creationDate?: Date; dtag?: string; nickname?: string; pictures?: { profile?: string | undefined; cover?: string | undefined; } }): Profile
-
Parameters
-
object: { account?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; bio?: string; creationDate?: Date; dtag?: string; nickname?: string; pictures?: { profile?: string | undefined; cover?: string | undefined; } }
-
Optional account?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }
-
Optional bio?: string
-
Optional creationDate?: Date
-
Optional dtag?: string
-
Optional nickname?: string
-
Optional pictures?: { profile?: string | undefined; cover?: string | undefined; }
-
toJSON: function
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "desmos.profiles.v1beta1" = 'desmos.profiles.v1beta1'
Cover contains the URL to the cover picture