blib/lib/Telegram/Bot/Object/CallbackGame.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 4 | 75.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 2 | 50.0 |
pod | 0 | 1 | 0.0 |
total | 4 | 7 | 57.1 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Telegram::Bot::Object::CallbackGame; | ||||||
2 | $Telegram::Bot::Object::CallbackGame::VERSION = '0.023'; | ||||||
3 | # ABSTRACT: The base class for Telegram message 'CallbackGame' type. | ||||||
4 | |||||||
5 | |||||||
6 | 5 | 5 | 36 | use Mojo::Base 'Telegram::Bot::Object::Base'; | |||
5 | 11 | ||||||
5 | 30 | ||||||
7 | |||||||
8 | # https://core.telegram.org/bots/api#callbackgame | ||||||
9 | # "A placeholder, currently holds no information. Use BotFather to set up your game" | ||||||
10 | |||||||
11 | sub fields { | ||||||
12 | return { }, | ||||||
13 | 0 | 0 | 0 | } | |||
14 | |||||||
15 | 1; | ||||||
16 | |||||||
17 | __END__ |