Get retrieves a reaction having the given id.
(ctx context.Context, id string)
| 56 | |
| 57 | // Get retrieves a reaction having the given id. |
| 58 | func (c *ReactionsClient) Get(ctx context.Context, id string) (*ReactionResponse, error) { |
| 59 | endpoint := c.client.makeEndpoint("reaction/%s/", id) |
| 60 | |
| 61 | return c.decode(c.client.get(ctx, endpoint, nil, c.client.authenticator.reactionsAuth)) |
| 62 | } |
| 63 | |
| 64 | // Delete deletes a reaction having the given id. |
| 65 | // The reaction is permanently deleted and cannot be restored. |
nothing calls this directly
no test coverage detected