ITalkBackend
in
Interface for the Talk app to implement
Other apps must not implement nor use this interface in any way. Use the broker instead
Tags
Table of Contents
Methods
- createConversation() : IConversation
- deleteConversation() : void
- Delete a conversation by id
Methods
createConversation()
public
createConversation(string $name, array<string|int, IUser> $moderators, IConversationOptions $options) : IConversation
Parameters
- $name : string
- $moderators : array<string|int, IUser>
- $options : IConversationOptions
-
configuration for the conversation
Tags
Return values
IConversationdeleteConversation()
Delete a conversation by id
public
deleteConversation(string $id) : void
Parameters
- $id : string
-
conversation id