MyChat Scripts: mGetConfNameByUID
Function to obtain a text name of multi-user conference by its numeric identifier (UID).
Syntax
function mGetConfNameByUID(iUID: integer): string;
Parameters and return values
Parameter |
Type |
Value |
iUID |
integer |
conference numeric identifier (UID). |
Function result
Conference name. If there is no such conference, the function returns an empty string.
Example
begin
mLogScript(mGetConfNameByUID(1), '');
mLogScript(mGetConfNameByUID(2), '');
end.
Script work result
[14:55:32] (Log "mGetConfNameByUID"): main
[14:55:32] (Log "mGetConfNameByUID"): work