For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 3

Receive messages from my Eikon Messenger (python)

Is there a way to receive messages (of my personal account) from Eikon Messenger desktop app with python ?

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonmessenger-bot-apimessengermessages
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
15.2k 40 12 19

Hi @hugo.leclere ,

Please take a look at Messenger Bot API here and this sample on the github. It is written in Python: https://github.com/Refinitiv-API-Samples/Example.MessengerChatBot.Python.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 0 1 3

https://developers.refinitiv.com/en/api-catalog/messenger-api/messenger-side-by-side-api

"The API is uni-directional for now, thus you can only send and not receive messages."

Is there another way to receive messages ?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
15.1k 28 8 12

Hello @hugo.leclere

The Messenger Bot API (not Messenger Side-By-Side) provides two connections for developers.

  • WebSocket connection for receiving messages from users in the chat room
  • HTTP REST API for sending messages to users (either individual or in the chat room).

Please note that you need to have the Bot account for the Eikon message and the chatroom with your Bot. Please contact your Refinitiv representative to help you regarding the Bot account.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 0 1 3

@wasin.waeosri

Bot account can read all received messages of my personal account ?

I used the Messenger Bot API with my personal account and it worked but I lost desktop app connection, is there a way to avoid that ?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
15.1k 28 8 12

Hello @hugo.leclere

The Bot can receive all messages sent from all participants in the same chatroom (the Bot must be in the chatroom).

I suggest you contact the helpdesk directly to help you check the Eikon desktop lost connection issue via the https://my.refinitiv.com/content/mytr/en/productsupport.html website. Please choose "Refinitiv Messenger" product category.


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.