Get a text name of a multi-user conference by its numeric identifier (UID).

 

Syntax

function mGetConfTopic(iUID: integer): string;

 

Parameters and return values

Parameter

Type

Value

iUID

integer

conference numeric identifier (UID).

 

Function result

Conference topic text name. If there is no such UID or the topic is not specified, the function returns an empty string.

 

Example


const
  CONF_NAME = 'main';
var
  sTopic: string;
  iUID: integer;
begin
  iUID := mGetConfUIDByName(CONF_NAME);
  
    if iUID = -1 then mLogScript('Conference not found', '')
      else mLogScript('Topic is: "' + mGetConfTopic(iUID) + '"', ''); 
end.


Script work result

[15:40:55] (Log "mGetConfTopic"): Topic is: "Main conference"

[15:40:55] (Run "mGetConfTopic"): Script work result: 3 ms

[15:40:55] (Run "mGetConfTopic"): Script done successfully.
 

See also

mGetConfPassword

mGetConfUIDByNam

mLogScript