MessagesController.InsertMessage Method

Namespace:
Weavy.Web.Api.Controllers
Assembly:
Weavy.Web.dll

Overloads

InsertMessage(ConversationIn) Posts a new message to the specified recipients (automatically creates a new conversation if needed).
InsertMessage(int, MessageIn) Creates a new message in the specified conversation.

InsertMessage(ConversationIn)

Posts a new message to the specified recipients (automatically creates a new conversation if needed).

public Message InsertMessage(ConversationIn message)

Parameters

message
ConversationIn

The message to insert.

Returns

Message

The posted message.

InsertMessage(int, MessageIn)

Creates a new message in the specified conversation.

public Message InsertMessage(int id, MessageIn message)

Parameters

id
int

The conversation id.

message
MessageIn

The message to insert.

Returns

Message

The inserted message.