Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 1 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-apirefinitiv-dataplatform-eikonworkspaceworkspace-data-apimessenger-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.

hi @hugo.leclere ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,
AHS

Hello @hugo.leclere ,

Thank you for your participation in the forum.

Is one of the replies below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


Upvotes
Accepted
22k 58 14 21

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 1 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
24.6k 54 17 14

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 1 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
24.6k 54 17 14

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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