fbchat-dev / fbchat-dev/fbchat

Provide a way to know if a message was delivered/read

Open
#337 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
1.2k
Forks
403
PR merge metrics
No merged PRs in 30d

Description

## Description
Provide a way to know if a message was delivered or read *without listening all the time*.
Basically add read_by and delivered_to attributes to Message object.
At least fetchThreadMessages() should fill those attributes.
read_by and delivered_to could be dict where key is user id and value is the timestamp when the message was delivered/read (should be possible to find at least for read time because FB show it in browser).

## Researches
Looks handled in js by FB (and obfuscated)

Any help to understand how it works is welcome ;)
This issue allows us to follow the progress of our searches.

BTW, is_read attribute (in Message object) looks confusing, should be better to rename it to read_by_me or something like that, no?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.