Skip to content

feat(update): pass tg Entities to Update#464

Merged
ernado merged 1 commit into
gotd:mainfrom
fluffur:pass-tg-entities-to-update
Jun 22, 2026
Merged

feat(update): pass tg Entities to Update#464
ernado merged 1 commit into
gotd:mainfrom
fluffur:pass-tg-entities-to-update

Conversation

@fluffur

@fluffur fluffur commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Access raw tg.Entities from update

bot.OnMessage(func(c *botapi.Context) error {
		c.Update.Entities // tg.Entities
})

@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 23.52941% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.57%. Comparing base (ec97c6a) to head (2863d26).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
on.go 18.75% 9 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #464      +/-   ##
==========================================
- Coverage   78.89%   78.57%   -0.32%     
==========================================
  Files         118      118              
  Lines        8359     8361       +2     
==========================================
- Hits         6595     6570      -25     
  Misses       1237     1237              
- Partials      527      554      +27     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ernado ernado merged commit fbef619 into gotd:main Jun 22, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants