Nextcloud PHP API (master)

ITalkBackend

Interface for the Talk app to implement

Other apps must not implement nor use this interface in any way. Use the broker instead

Tags
see
IBroker
since
24.0.0

Table of Contents

Methods

createConversation()  : IConversation
deleteConversation()  : void
Delete a conversation by id
isAllowedToCreateConversations()  : bool
Check if the logged-in user is allowed to create conversations
isEnabledForUser()  : bool
Check if the Talk backend is enabled for the logged-in user

Methods

deleteConversation()

Delete a conversation by id

public deleteConversation(string $id) : void
Parameters
$id : string

conversation id

Tags
since
26.0.0

isAllowedToCreateConversations()

Check if the logged-in user is allowed to create conversations

public isAllowedToCreateConversations() : bool

Also returns false when no backend is enabled for the user

Tags
since
34.0.0
Return values
bool

isEnabledForUser()

Check if the Talk backend is enabled for the logged-in user

public isEnabledForUser() : bool
Tags
since
34.0.0
Return values
bool
On this page

Search results