Bitrix API

Task extends IM

FinalYes

Table of Contents

Constants

MODULE_NAME  = 'im'

Methods

notifyAdd()  : mixed
openChat()  : bool|int
Opens new task chat, or returns existing one
postMessage()  : mixed
Posts new message to a specified chat

Constants

MODULE_NAME

public mixed MODULE_NAME = 'im'

Methods

notifyAdd()

public static notifyAdd(mixed $message) : mixed
Parameters
$message : mixed

openChat()

Opens new task chat, or returns existing one

public static openChat(mixed $task) : bool|int
Parameters
$task : mixed
Tags
throws
ArgumentException
Return values
bool|int

postMessage()

Posts new message to a specified chat

public static postMessage(mixed $chatId, mixed $message[, null $task = null ]) : mixed
Parameters
$chatId : mixed
$message : mixed
$task : null = null

        
On this page

Search results