Revision
You can get information about the current API version (platform version) as follows: im.revision.get
: 1
Attention! To use the IMOPENLINES REST methods you need to have access permissions for imbot (Creating and managing chat bots) as well as access to the imopenlines (Open channels) scope.
Parameters
Parameter
Example
Required
Description
Revision
CHAT_ID
112
Yes
Chat ID
1
USER_ID
12
Yes
User ID, to which forwarding is performed.
1
LEAVE
N
Yes
Y/N. If 'N’ is specified – chatbot will not leave this chat after forwarding and will be available until user is confirmed
1
Note: Instead of USER_ID you can indicate QUEUE_ID for witching to another open channel.