porting all github actions from bluesky-social/indigo to tangled CI
at main 951 B view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package chat 4 5// schema: chat.bsky.convo.unmuteConvo 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/lex/util" 11) 12 13// ConvoUnmuteConvo_Input is the input argument to a chat.bsky.convo.unmuteConvo call. 14type ConvoUnmuteConvo_Input struct { 15 ConvoId string `json:"convoId" cborgen:"convoId"` 16} 17 18// ConvoUnmuteConvo_Output is the output of a chat.bsky.convo.unmuteConvo call. 19type ConvoUnmuteConvo_Output struct { 20 Convo *ConvoDefs_ConvoView `json:"convo" cborgen:"convo"` 21} 22 23// ConvoUnmuteConvo calls the XRPC method "chat.bsky.convo.unmuteConvo". 24func ConvoUnmuteConvo(ctx context.Context, c util.LexClient, input *ConvoUnmuteConvo_Input) (*ConvoUnmuteConvo_Output, error) { 25 var out ConvoUnmuteConvo_Output 26 if err := c.LexDo(ctx, util.Procedure, "application/json", "chat.bsky.convo.unmuteConvo", nil, input, &out); err != nil { 27 return nil, err 28 } 29 30 return &out, nil 31}