• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

RealSpeaker / telegraf-session-local / 23 / 3
98%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/mocha-11.0.1
DEFAULT BRANCH: master
Ran 18 Aug 2017 01:34PM UTC
Files 6
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Aug 2017 01:33PM UTC coverage: 98.498% (+0.9%) from 97.552%
23.3

push

travis-ci

TemaSM
🔨 fix .getSessionKey() for inline mode (#4)

* fix: fix getSessionKey for inline mode

- `inline_query` does not have a connection to a chat and so no chat
property.
- `callback_query` from a chat does not need the
`ctx.update.callback_query.message.chat` shortcut. The `ctx.chat`
property is already filled by the Context class.
- `callback_query` from an inline bot message does not contain the
`message` property. Instead it has the `inline_message_id`. Only
`chat_instance` can be used for this.

See the type descriptions from the official api documentation:
[CallbackQuery](https://core.telegram.org/bots/api#callbackquery) and
[InlineQuery](https://core.telegram.org/bots/api#inlinequery)

* test: improve 'callback_query from chat' test

The callback_query can be triggered by another person than the one
created the message

24 of 28 branches covered (85.71%)

Branch coverage included in aggregate %.

304 of 305 relevant lines covered (99.67%)

3.24 hits per line

Source Files on job 23.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 23
  • Travis Job 23.3
  • 1d759faf on github
  • Prev Job for on dev (#22.2)
  • Next Job for on dev (#24.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc