1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package chat
4
5// schema: chat.bsky.convo.removeReaction
6
7import (
8 "context"
9
10 "github.com/bluesky-social/indigo/xrpc"
11)
12
13// ConvoRemoveReaction_Input is the input argument to a chat.bsky.convo.removeReaction call.
14type ConvoRemoveReaction_Input struct {
15 ConvoId string `json:"convoId" cborgen:"convoId"`
16 MessageId string `json:"messageId" cborgen:"messageId"`
17 Value string `json:"value" cborgen:"value"`
18}
19
20// ConvoRemoveReaction_Output is the output of a chat.bsky.convo.removeReaction call.
21type ConvoRemoveReaction_Output struct {
22 Message *ConvoDefs_MessageView `json:"message" cborgen:"message"`
23}
24
25// ConvoRemoveReaction calls the XRPC method "chat.bsky.convo.removeReaction".
26func ConvoRemoveReaction(ctx context.Context, c *xrpc.Client, input *ConvoRemoveReaction_Input) (*ConvoRemoveReaction_Output, error) {
27 var out ConvoRemoveReaction_Output
28 if err := c.Do(ctx, xrpc.Procedure, "application/json", "chat.bsky.convo.removeReaction", nil, input, &out); err != nil {
29 return nil, err
30 }
31
32 return &out, nil
33}