Closed KnorpelSenf closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 45.78%. Comparing base (
4cb8e68
) to head (aadc45e
). Report is 2 commits behind head on main.:exclamation: Current head aadc45e differs from pull request most recent head 25529fa. Consider uploading reports for the commit 25529fa to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
To also fix in another PQ with similar "patterns" of code:
msgId: [Shortcuts<U>["msg"]] extends [object] ? number
businessConnectionId: [Shortcuts<U>["msg"]] extends [object] ? string | undefined
: [U["business_connection"]] extends [object] ? [U["business_connection"]["id"]]
: [U["deleted_business_messages"]] extends [object] ? [U["deleted_business_messages"]["business_connection_id"]]
Right, I'll fix those
All fixes for https://github.com/grammyjs/grammY/pull/555#issuecomment-2044140513 has been verified.
Some regression bugs have surfaced.
All fixes for #555 (comment) has been verified.
Awesome!
Some regression bugs have surfaced.
![]()
Those two are invalid. There is no such field as id
on a message, so the error is correct. You might have meant message_id
which works correctly.
I cannot reproduce this. For me, ctx.chat
is Chat | undefined
which is correct.
Potential fix for https://t.me/grammyjs/228143