Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/proto/desmos/posts/v1beta1/msgs

Index

Type aliases

DeepPartial

DeepPartial<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

MsgAddPostReaction

MsgAddPostReaction: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgAddPostReactionResponse

MsgAddPostReactionResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgAnswerPoll

MsgAnswerPoll: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgAnswerPollResponse

MsgAnswerPollResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgCreatePost

MsgCreatePost: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • decode: function
    • decode(input: Uint8Array | Reader, length?: number): MsgCreatePost
  • encode: function
  • fromJSON: function
  • fromPartial: function
    • fromPartial(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 additionalAttributes?: { key?: string | undefined; value?: string | undefined; }[]
        • Optional attachments?: { uri?: string | undefined; mimeType?: string | undefined; tags?: string[] | undefined; }[]
        • Optional commentsState?: CommentsState
        • Optional creator?: string
        • Optional message?: string
        • Optional parentId?: string
        • Optional pollData?: { 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

MsgCreatePostResponse

MsgCreatePostResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgEditPost

MsgEditPost: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • decode: function
    • decode(input: Uint8Array | Reader, length?: number): MsgEditPost
  • encode: function
    • encode(message: MsgEditPost, writer?: Writer): Writer
  • fromJSON: function
  • fromPartial: function
    • fromPartial(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 commentsState?: CommentsState
        • Optional editor?: string
        • Optional message?: string
        • Optional pollData?: { question?: string | undefined; providedAnswers?: { answerId?: string | undefined; text?: string | undefined; }[] | undefined; endDate?: Date | undefined; allowsMultipleAnswers?: boolean | undefined; allowsAnswerEdits?: boolean | undefined; }
        • Optional postId?: string

      Returns MsgEditPost

  • toJSON: function

MsgEditPostResponse

MsgEditPostResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgRegisterReaction

MsgRegisterReaction: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgRegisterReactionResponse

MsgRegisterReactionResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgRemovePostReaction

MsgRemovePostReaction: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgRemovePostReactionResponse

MsgRemovePostReactionResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgReportPost

MsgReportPost: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgReportPostResponse

MsgReportPostResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Const protobufPackage

protobufPackage: "desmos.posts.v1beta1" = 'desmos.posts.v1beta1'

Generated using TypeDoc