find channel(partner a, name b, [c])

This function searches for a partner channel based on the channel and partner name.

The return value is the ID of the channel, or "0" with set Empty Flag if no channel was found.

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

Partnername

Activechannel


1592472843111064

Partnername

Inactivechannel


1606366806421015

Partnername

Inactivechannel

true

0 (with set Empty Flag)