Completed
Push — master ( a4a0d7...5dd6ba )
by Camilo
07:16
created

EditMessageReplyMarkup::getMandatoryFields()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace unreal4u\TelegramAPI\Telegram\Methods;
6
7
use unreal4u\TelegramAPI\Abstracts\TelegramMethods;
8
use unreal4u\TelegramAPI\Telegram\Types\Inline\Keyboard\Markup;
9
10
/**
11
 * Use this method to edit only the reply markup of messages sent by the bot or via the bot (for inline bots). On
12
 * success, if edited message is sent by the bot, the edited Message is returned, otherwise True is returned.
13
 *
14
 * Objects defined as-is july 2016
15
 *
16
 * @see https://core.telegram.org/bots/api#editmessagereplymarkup
17
 */
18
class EditMessageReplyMarkup extends TelegramMethods
19
{
20
    /**
21
     * Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target
22
     * channel (in the format @channelusername)
23
     * @var string
24
     */
25
    public $chat_id = '';
26
27
    /**
28
     * Required if inline_message_id is not specified. Unique identifier of the sent message
29
     * @var int
30
     */
31
    public $message_id = 0;
32
33
    /**
34
     * Required if chat_id and message_id are not specified. Identifier of the inline message
35
     * @var string
36
     */
37
    public $inline_message_id = '';
38
39
    /**
40
     * Optional. A JSON-serialized object for an inline keyboard.
41
     * @var Markup
42
     */
43
    public $reply_markup = null;
44
45
    public function getMandatoryFields(): array
46
    {
47
        return [];
48
    }
49
}
50