Skip to content

SendMessageRequest

Namespace: Signal.Bot.Requests

Full Name: Signal.Bot.Requests.SendMessageRequest

Summary

Represents a request to send a message via the Signal Bot API.

Properties

Attachments

Gets or sets the array of base64-encoded attachments to send with the message.

EditTimestamp

Gets or sets the timestamp of the message to edit. Used when editing an existing message.

LinkPreview

Gets or sets the link preview configuration for URLs in the message.

Mentions

Gets or sets the array of mentions in the message text.

Message

Gets or sets the text content of the message.

NotifySelf

Gets or sets whether the sender should receive a notification for their own message.

Number

Gets or sets the sender's phone number in international format.

QuoteAuthor

Gets or sets the author of the quoted message when replying.

QuoteMentions

Gets or sets the array of mentions in the quoted message.

QuoteMessage

Gets or sets the text content of the message being quoted or replied to.

QuoteTimestamp

Gets or sets the timestamp of the message being quoted or replied to.

Recipients

Gets or sets the array of recipient phone numbers or group IDs.

Sticker

Gets or sets the sticker identifier or base64-encoded sticker data to send.

TextMode

Gets or sets the text formatting mode for the message.

ViewOnce

Gets or sets whether the message should be viewable only once before disappearing.

Methods

#ctor

csharp
#ctor()

Represents a request to send a message via the Signal Bot API.