VoiceChatParticipantsInvited::subEntities()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace TelegramBot\Entities;
4
5
use TelegramBot\Entity;
6
7
/**
8
 * Class VoiceChatParticipantsInvited
9
 *
10
 * Represents a service message about new members invited to a voice chat
11
 *
12
 * @link https://core.telegram.org/bots/api#voicechatparticipantsinvited
13
 *
14
 * @method User[] getUsers()    Optional. New members that were invited to the voice chat
15
 */
16
class VoiceChatParticipantsInvited extends Entity
17
{
18
19
    /**
20
     * {@inheritdoc}
21
     */
22
    protected function subEntities(): array
23
    {
24
        return [
25
            'users' => [User::class],
26
        ];
27
    }
28
29
}
30