Completed
Push — master ( be22ff...83e3a1 )
by Alexander
20s queued 15s
created

SentWebAppMessage::getInlineMessageId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace TelegramBot\Api\Types;
4
5
use TelegramBot\Api\BaseType;
6
use TelegramBot\Api\TypeInterface;
7
8
class SentWebAppMessage extends BaseType implements TypeInterface
9
{
10
    /**
11
     * {@inheritdoc}
12
     *
13
     * @var array
14
     */
15
    protected static $requiredParams = [];
16
17
    /**
18
     * {@inheritdoc}
19
     *
20
     * @var array
21
     */
22
    protected static $map = [
23
        'inline_message_id' => true,
24
    ];
25
26
    /**
27
     * Optional. Identifier of the sent inline message. Available only if there is an inline keyboard attached to the message.
28
     *
29
     * @var string|null
30
     */
31
    protected $inlineMessageId;
32
33
    /**
34
     * @return string|null
35
     */
36
    public function getInlineMessageId()
37
    {
38
        return $this->inlineMessageId;
39
    }
40
41
    /**
42
     * @param string|null $inlineMessageId
43
     * @return void
44
     */
45
    public function setInlineMessageId($inlineMessageId)
46
    {
47
        $this->inlineMessageId = $inlineMessageId;
48
    }
49
}
50