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
Return values
bool|intpostMessage()
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