this repo has no description
at main 27 lines 943 B view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3// Lexicon schema: chat.bsky.convo.deleteMessageForSelf 4 5package chat 6 7import ( 8 "context" 9 10 lexutil "github.com/bluesky-social/indigo/lex/util" 11) 12 13// ConvoDeleteMessageForSelf_Input is the input argument to a chat.bsky.convo.deleteMessageForSelf call. 14type ConvoDeleteMessageForSelf_Input struct { 15 ConvoId string `json:"convoId" cborgen:"convoId"` 16 MessageId string `json:"messageId" cborgen:"messageId"` 17} 18 19// ConvoDeleteMessageForSelf calls the XRPC method "chat.bsky.convo.deleteMessageForSelf". 20func ConvoDeleteMessageForSelf(ctx context.Context, c lexutil.LexClient, input *ConvoDeleteMessageForSelf_Input) (*ConvoDefs_DeletedMessageView, error) { 21 var out ConvoDefs_DeletedMessageView 22 if err := c.LexDo(ctx, lexutil.Procedure, "application/json", "chat.bsky.convo.deleteMessageForSelf", nil, input, &out); err != nil { 23 return nil, err 24 } 25 26 return &out, nil 27}