Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Add support for message reactions #56

Open

Description

@Terrance

The latest Android beta introduced emoticon reactions on messages.

Messages now carry an emotions property, for example:

{"from": "https://db5-client-s.gateway.messenger.live.com/v1/users/ME/contacts/8:fred.2",
 "type": "Message",
 "content": "Hello.",
 "conversationLink": "https://db5-client-s.gateway.messenger.live.com/v1/users/ME/conversations/8:joe.4",
 "clientmessageid": "12345678901234567890",
 "composetime": "2017-01-01T00:00:00.000Z",
 "version": "1483228800000",
 "messagetype": "RichText",
 "originalarrivaltime": "2017-01-01T00:00:00.000Z",
 "id": "1483228800000",
 "properties": {"emotions": [{"key": "sarcastic",
                              "users": [{"mri": "8:joe.4",
                                         "time": 1483228800000}]}]}}

These are not currently visible in Skype for Web, though the data is available over the long poll API.

Activity

  1. mihalt commented on Jun 24, 2022

    @mihalt

    Hi! How is it going? As I see, there is not emotions on Skype Event Loop yet.

  2. mihalt commented on Feb 3, 2025

    @mihalt

    the data is available over the long poll API.

    @Terrance What have you meant here?

    I've just found a way out. I run chat.getMsgs() while the list will be empty and continue to call it after that. If anybody do new actions then .getMsgs() gets only this messages with this new actions even if they didn't appear in your loop.

    But if I understand correct, you meant something another about long poll, didn't you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions