Skip to content
This repository was archived by the owner on Jul 14, 2026. It is now read-only.

fix #585: Dialog's top message can be undefined - #611

Open
baumschubser wants to merge 1 commit into
gram-js:masterfrom
baumschubser:master
Open

fix #585: Dialog's top message can be undefined#611
baumschubser wants to merge 1 commit into
gram-js:masterfrom
baumschubser:master

Conversation

@baumschubser

Copy link
Copy Markdown

Fixes #585 by making Dialog's date property optional. This prop is the dialog's "top message" date and since that can be undefined, the date can be undefined, too.

With this change, I can use getDialogs and do not experience any unwanted side effects.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GetDialogs fails with error

1 participant