Documentation

ForumSubscribeNewMessages

bool
ForumSubscribeNewMessages(
 int FID,
 int TID,
 &string strErrorMessage,
 &string strOKMessage
);

Subscribes the current visitor to new messages of the specified forum topic (if specified), or to all messages of the entire forum.

Parameters

ParameterDescription
FID The ID of the forum to whose messages the current user wants to subscribe.
TID The ID of the forum topic. If specified, the user is subscribed to new messages of this topic only.
strErrorMessage On return, this variable contains description of errors, if any occurs.
strOKMessage On return, this variable contains description of the successful run.

Return Values

Returns true on success or false otherwise.

© «Bitrix24», 2001-2024