send
Sends a message to either a single user (Recipient.Individual) or a group (Recipient.Group).
Parameters
The recipient that will receive our message. If sending to a group, note that signald will handle the fan-out of messages to all users.
The body of the message.
Attachments to include in the message.
A quote to include in the message, where the quote refers to a previous message.
Mentions to include in the message. Typically, an empty space is used as the mention placeholder, and then the position of the empty space is referred to by the JsonMention.start property.
The timestamp of the message that we are sending. Default to the current system clock time.
Throws
if signald sends an error response or the incoming message is invalid
if the request to the socket fails
Sends a message to either a single user (Recipient.Individual) or a group (Recipient.Group).
Parameters
The recipient that will receive our message. If sending to a group, note that signald will handle the fan-out of messages to all users.
The body of the message.
Attachments to include in the message.
A quote to include in the message, where the quote refers to a previous message.
Mentions to include in the message. Typically, an empty space is used as the mention placeholder, and then the position of the empty space is referred to by the JsonMention.start property.
The timestamp of the message that we are sending. Default to the current system clock time.
Throws
if signald sends an error response or the incoming message is invalid
if the request to the socket fails