Skip to content

IRequest

Namespace: Signal.Bot.Requests

Full Name: Signal.Bot.Requests.IRequest

Summary

Defines the base contract for all Signal Bot API requests without a typed response.

Properties

HttpMethod

Gets the HTTP method to use for this request (e.g., GET, POST, PUT, DELETE).

MethodName

Gets the API endpoint method name or path (e.g., "v2/send", "v1/groups/{number}").

Methods

ToHttpContent

csharp
ToHttpContent()

Converts the request object to HTTP content for transmission to the API.

Returns: An HttpContent instance containing the serialized request body.