Revision
You can get information about the current API version (platform version) as follows: im.revision.get
: 2
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
Req.
Description
Revision
CODE
ab515f5d85a8b844d484f6ea75a2e494
Yes
Registered Open Channel code
1
USER_ID
2
Yes
Message recipient ID
1
MESSAGE
message text
Yes
Message text
1
ATTACH
No
Attachment
1
KEYBOARD
No
Keyboard
1
URL_PREVIEW
Y
No
Convert links to rich links, by default set as 'Y'