ConversationService.AddMember Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
AddMember(int, int, Access, bool)
Adds a User to the specified Conversation.
public static ConversationMember AddMember(int id, int userId, Access access = Access.Write, bool sudo = false)
Parameters
- id
- int
Id of the Conversation to join.
- user
Id - int
Id of the User.
- access
- Access
The access rights to set for the user.
- sudo
- bool
true
to perform action as super user, otherwise false
.
Returns
ConversationMember
The added member