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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 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 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
13k 32 12 18

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 5.0 MiB each and 10.0 MiB total.

Upvotes
1 0 0 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 5.0 MiB each and 10.0 MiB total.

Upvote
11.5k 16 7 10

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 5.0 MiB each and 10.0 MiB total.

Upvotes
1 0 0 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 5.0 MiB each and 10.0 MiB total.

Upvotes
11.5k 16 7 10

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea