find channel(partner a, name b, [c])
Group |
Looks for a partner communication channel given by its name and the name of its assigned partner relation. The result is the internal ID of the channel or 0 if no channel has been found.
Description of Parameters
Parameter |
Description |
a |
Partner name. |
b |
Channel name. |
c |
(optional) true if only active channels should be searched for. Default: false. Note: If you search for inactive channels, the function also finds channels that once existed but have since been deleted. |
Examples
Parameter a |
Parameter b |
Parameter c |
Result |
Parntername |
Activechannel |
|
1111111111 |
Parntername |
Inactivechannel |
|
222222222 |
Parntername |
Inactivechannel |
true |
0 |