MessagesController.InsertMessage Method
- Namespace:
- Weavy.Web.Api.Controllers
- Assembly:
- Weavy.Web.dll
Overloads
Insert |
Posts a new message to the specified recipients (automatically creates a new conversation if needed). |
Insert |
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
Returns
Message
The posted message.
InsertMessage(Int32, MessageIn)
Creates a new message in the specified conversation.
public Message InsertMessage(int id, MessageIn message)
Parameters
- id
- System.Int32
- message
- MessageIn
Returns
Message
The inserted message.