Passed
Push — main ( 23165f...4af278 )
by Miaad
01:25
created
types/inlineQueryResultMpeg4Gif.php 1 patch
Indentation   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -10,59 +10,59 @@
 block discarded – undo
10 10
  * to send a message with the specified content instead of the animation.
11 11
  */
12 12
 class inlineQueryResultMpeg4Gif extends types {
13
-	/** Keep all of properties which has sub properties */
14
-	private const subs = [
15
-		'reply_markup' => 'BPT\types\inlineKeyboardMarkup',
16
-		'input_message_content' => 'BPT\types\inputMessageContent',
17
-	];
13
+    /** Keep all of properties which has sub properties */
14
+    private const subs = [
15
+        'reply_markup' => 'BPT\types\inlineKeyboardMarkup',
16
+        'input_message_content' => 'BPT\types\inputMessageContent',
17
+    ];
18 18
 
19
-	/** Type of the result, must be mpeg4_gif */
20
-	public string $type;
19
+    /** Type of the result, must be mpeg4_gif */
20
+    public string $type;
21 21
 
22
-	/** Unique identifier for this result, 1-64 bytes */
23
-	public string $id;
22
+    /** Unique identifier for this result, 1-64 bytes */
23
+    public string $id;
24 24
 
25
-	/** A valid URL for the MP4 file. File size must not exceed 1MB */
26
-	public string $mpeg4_url;
25
+    /** A valid URL for the MP4 file. File size must not exceed 1MB */
26
+    public string $mpeg4_url;
27 27
 
28
-	/** Optional. Video width */
29
-	public int $mpeg4_width;
28
+    /** Optional. Video width */
29
+    public int $mpeg4_width;
30 30
 
31
-	/** Optional. Video height */
32
-	public int $mpeg4_height;
31
+    /** Optional. Video height */
32
+    public int $mpeg4_height;
33 33
 
34
-	/** Optional. Video duration in seconds */
35
-	public int $mpeg4_duration;
34
+    /** Optional. Video duration in seconds */
35
+    public int $mpeg4_duration;
36 36
 
37
-	/** URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result */
38
-	public string $thumb_url;
37
+    /** URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result */
38
+    public string $thumb_url;
39 39
 
40
-	/**
41
-	 * Optional. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”.
42
-	 * Defaults to “image/jpeg”
43
-	 */
44
-	public string $thumb_mime_type;
40
+    /**
41
+     * Optional. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”.
42
+     * Defaults to “image/jpeg”
43
+     */
44
+    public string $thumb_mime_type;
45 45
 
46
-	/** Optional. Title for the result */
47
-	public string $title;
46
+    /** Optional. Title for the result */
47
+    public string $title;
48 48
 
49
-	/** Optional. Caption of the MPEG-4 file to be sent, 0-1024 characters after entities parsing */
50
-	public string $caption;
49
+    /** Optional. Caption of the MPEG-4 file to be sent, 0-1024 characters after entities parsing */
50
+    public string $caption;
51 51
 
52
-	/** Optional. Mode for parsing entities in the caption. See formatting options for more details. */
53
-	public string $parse_mode;
52
+    /** Optional. Mode for parsing entities in the caption. See formatting options for more details. */
53
+    public string $parse_mode;
54 54
 
55
-	/** Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode */
56
-	public array $caption_entities;
55
+    /** Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode */
56
+    public array $caption_entities;
57 57
 
58
-	/** Optional. Inline keyboard attached to the message */
59
-	public inlineKeyboardMarkup $reply_markup;
58
+    /** Optional. Inline keyboard attached to the message */
59
+    public inlineKeyboardMarkup $reply_markup;
60 60
 
61
-	/** Optional. Content of the message to be sent instead of the video animation */
62
-	public inputMessageContent $input_message_content;
61
+    /** Optional. Content of the message to be sent instead of the video animation */
62
+    public inputMessageContent $input_message_content;
63 63
 
64 64
 
65
-	public function __construct(stdClass $update) {
66
-		parent::__construct($update, self::subs);
67
-	}
65
+    public function __construct(stdClass $update) {
66
+        parent::__construct($update, self::subs);
67
+    }
68 68
 }
Please login to merge, or discard this patch.
types/inputMediaAudio.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -8,48 +8,48 @@
 block discarded – undo
8 8
  * Represents an audio file to be treated as music to be sent.
9 9
  */
10 10
 class inputMediaAudio extends types {
11
-	/** Keep all of properties which has sub properties */
12
-	private const subs = ['thumb' => 'BPT\types\inputFile'];
11
+    /** Keep all of properties which has sub properties */
12
+    private const subs = ['thumb' => 'BPT\types\inputFile'];
13 13
 
14
-	/** Type of the result, must be audio */
15
-	public string $type;
14
+    /** Type of the result, must be audio */
15
+    public string $type;
16 16
 
17
-	/**
18
-	 * File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP
19
-	 * URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new
20
-	 * one using multipart/form-data under <file_attach_name> name. More info on Sending Files »
21
-	 */
22
-	public string $media;
17
+    /**
18
+     * File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP
19
+     * URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new
20
+     * one using multipart/form-data under <file_attach_name> name. More info on Sending Files »
21
+     */
22
+    public string $media;
23 23
 
24
-	/**
25
-	 * Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported
26
-	 * server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and
27
-	 * height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't
28
-	 * be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the
29
-	 * thumbnail was uploaded using multipart/form-data under <file_attach_name>. More info on Sending Files »
30
-	 */
31
-	public inputFile $thumb;
24
+    /**
25
+     * Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported
26
+     * server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and
27
+     * height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't
28
+     * be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the
29
+     * thumbnail was uploaded using multipart/form-data under <file_attach_name>. More info on Sending Files »
30
+     */
31
+    public inputFile $thumb;
32 32
 
33
-	/** Optional. Caption of the audio to be sent, 0-1024 characters after entities parsing */
34
-	public string $caption;
33
+    /** Optional. Caption of the audio to be sent, 0-1024 characters after entities parsing */
34
+    public string $caption;
35 35
 
36
-	/** Optional. Mode for parsing entities in the audio caption. See formatting options for more details. */
37
-	public string $parse_mode;
36
+    /** Optional. Mode for parsing entities in the audio caption. See formatting options for more details. */
37
+    public string $parse_mode;
38 38
 
39
-	/** Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode */
40
-	public array $caption_entities;
39
+    /** Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode */
40
+    public array $caption_entities;
41 41
 
42
-	/** Optional. Duration of the audio in seconds */
43
-	public int $duration;
42
+    /** Optional. Duration of the audio in seconds */
43
+    public int $duration;
44 44
 
45
-	/** Optional. Performer of the audio */
46
-	public string $performer;
45
+    /** Optional. Performer of the audio */
46
+    public string $performer;
47 47
 
48
-	/** Optional. Title of the audio */
49
-	public string $title;
48
+    /** Optional. Title of the audio */
49
+    public string $title;
50 50
 
51 51
 
52
-	public function __construct(stdClass $update) {
53
-		parent::__construct($update, self::subs);
54
-	}
52
+    public function __construct(stdClass $update) {
53
+        parent::__construct($update, self::subs);
54
+    }
55 55
 }
Please login to merge, or discard this patch.
types/chatMemberUpdated.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -8,38 +8,38 @@
 block discarded – undo
8 8
  * This object represents changes in the status of a chat member.
9 9
  */
10 10
 class chatMemberUpdated extends types {
11
-	/** Keep all of properties which has sub properties */
12
-	private const subs = [
13
-		'chat' => 'BPT\types\chat',
14
-		'from' => 'BPT\types\user',
15
-		'old_chat_member' => 'BPT\types\chatMember',
16
-		'new_chat_member' => 'BPT\types\chatMember',
17
-		'invite_link' => 'BPT\types\chatInviteLink',
18
-	];
11
+    /** Keep all of properties which has sub properties */
12
+    private const subs = [
13
+        'chat' => 'BPT\types\chat',
14
+        'from' => 'BPT\types\user',
15
+        'old_chat_member' => 'BPT\types\chatMember',
16
+        'new_chat_member' => 'BPT\types\chatMember',
17
+        'invite_link' => 'BPT\types\chatInviteLink',
18
+    ];
19 19
 
20
-	/** Chat the user belongs to */
21
-	public chat $chat;
20
+    /** Chat the user belongs to */
21
+    public chat $chat;
22 22
 
23
-	/** Performer of the action, which resulted in the change */
24
-	public user $from;
23
+    /** Performer of the action, which resulted in the change */
24
+    public user $from;
25 25
 
26
-	/** Date the change was done in Unix time */
27
-	public int $date;
26
+    /** Date the change was done in Unix time */
27
+    public int $date;
28 28
 
29
-	/** Previous information about the chat member */
30
-	public chatMember $old_chat_member;
29
+    /** Previous information about the chat member */
30
+    public chatMember $old_chat_member;
31 31
 
32
-	/** New information about the chat member */
33
-	public chatMember $new_chat_member;
32
+    /** New information about the chat member */
33
+    public chatMember $new_chat_member;
34 34
 
35
-	/**
36
-	 * Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events
37
-	 * only.
38
-	 */
39
-	public chatInviteLink $invite_link;
35
+    /**
36
+     * Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events
37
+     * only.
38
+     */
39
+    public chatInviteLink $invite_link;
40 40
 
41 41
 
42
-	public function __construct(stdClass $update) {
43
-		parent::__construct($update, self::subs);
44
-	}
42
+    public function __construct(stdClass $update) {
43
+        parent::__construct($update, self::subs);
44
+    }
45 45
 }
Please login to merge, or discard this patch.
types/chatMemberBanned.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -8,20 +8,20 @@
 block discarded – undo
8 8
  * Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.
9 9
  */
10 10
 class chatMemberBanned extends types {
11
-	/** Keep all of properties which has sub properties */
12
-	private const subs = ['user' => 'BPT\types\user'];
11
+    /** Keep all of properties which has sub properties */
12
+    private const subs = ['user' => 'BPT\types\user'];
13 13
 
14
-	/** The member's status in the chat, always “kicked” */
15
-	public string $status;
14
+    /** The member's status in the chat, always “kicked” */
15
+    public string $status;
16 16
 
17
-	/** Information about the user */
18
-	public user $user;
17
+    /** Information about the user */
18
+    public user $user;
19 19
 
20
-	/** Date when restrictions will be lifted for this user; unix time. If 0, then the user is banned forever */
21
-	public int $until_date;
20
+    /** Date when restrictions will be lifted for this user; unix time. If 0, then the user is banned forever */
21
+    public int $until_date;
22 22
 
23 23
 
24
-	public function __construct(stdClass $update) {
25
-		parent::__construct($update, self::subs);
26
-	}
24
+    public function __construct(stdClass $update) {
25
+        parent::__construct($update, self::subs);
26
+    }
27 27
 }
Please login to merge, or discard this patch.
types/inlineQueryResultCachedSticker.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -10,29 +10,29 @@
 block discarded – undo
10 10
  * the sticker.
11 11
  */
12 12
 class inlineQueryResultCachedSticker extends types {
13
-	/** Keep all of properties which has sub properties */
14
-	private const subs = [
15
-		'reply_markup' => 'BPT\types\inlineKeyboardMarkup',
16
-		'input_message_content' => 'BPT\types\inputMessageContent',
17
-	];
13
+    /** Keep all of properties which has sub properties */
14
+    private const subs = [
15
+        'reply_markup' => 'BPT\types\inlineKeyboardMarkup',
16
+        'input_message_content' => 'BPT\types\inputMessageContent',
17
+    ];
18 18
 
19
-	/** Type of the result, must be sticker */
20
-	public string $type;
19
+    /** Type of the result, must be sticker */
20
+    public string $type;
21 21
 
22
-	/** Unique identifier for this result, 1-64 bytes */
23
-	public string $id;
22
+    /** Unique identifier for this result, 1-64 bytes */
23
+    public string $id;
24 24
 
25
-	/** A valid file identifier of the sticker */
26
-	public string $sticker_file_id;
25
+    /** A valid file identifier of the sticker */
26
+    public string $sticker_file_id;
27 27
 
28
-	/** Optional. Inline keyboard attached to the message */
29
-	public inlineKeyboardMarkup $reply_markup;
28
+    /** Optional. Inline keyboard attached to the message */
29
+    public inlineKeyboardMarkup $reply_markup;
30 30
 
31
-	/** Optional. Content of the message to be sent instead of the sticker */
32
-	public inputMessageContent $input_message_content;
31
+    /** Optional. Content of the message to be sent instead of the sticker */
32
+    public inputMessageContent $input_message_content;
33 33
 
34 34
 
35
-	public function __construct(stdClass $update) {
36
-		parent::__construct($update, self::subs);
37
-	}
35
+    public function __construct(stdClass $update) {
36
+        parent::__construct($update, self::subs);
37
+    }
38 38
 }
Please login to merge, or discard this patch.
types/inlineKeyboardButton.php 1 patch
Indentation   +55 added lines, -55 removed lines patch added patch discarded remove patch
@@ -8,70 +8,70 @@
 block discarded – undo
8 8
  * This object represents one button of an inline keyboard. You must use exactly one of the optional fields.
9 9
  */
10 10
 class inlineKeyboardButton extends types {
11
-	/** Keep all of properties which has sub properties */
12
-	private const subs = [
13
-		'web_app' => 'BPT\types\webAppInfo',
14
-		'login_url' => 'BPT\types\loginUrl',
15
-		'callback_game' => 'BPT\types\callbackGame',
16
-	];
11
+    /** Keep all of properties which has sub properties */
12
+    private const subs = [
13
+        'web_app' => 'BPT\types\webAppInfo',
14
+        'login_url' => 'BPT\types\loginUrl',
15
+        'callback_game' => 'BPT\types\callbackGame',
16
+    ];
17 17
 
18
-	/** Label text on the button */
19
-	public string $text;
18
+    /** Label text on the button */
19
+    public string $text;
20 20
 
21
-	/**
22
-	 * Optional. HTTP or tg:// url to be opened when the button is pressed. Links tg://user?id=<user_id> can be used
23
-	 * to mention a user by their ID without using a username, if this is allowed by their privacy settings.
24
-	 */
25
-	public string $url;
21
+    /**
22
+     * Optional. HTTP or tg:// url to be opened when the button is pressed. Links tg://user?id=<user_id> can be used
23
+     * to mention a user by their ID without using a username, if this is allowed by their privacy settings.
24
+     */
25
+    public string $url;
26 26
 
27
-	/** Optional. Data to be sent in a callback query to the bot when button is pressed, 1-64 bytes */
28
-	public string $callback_data;
27
+    /** Optional. Data to be sent in a callback query to the bot when button is pressed, 1-64 bytes */
28
+    public string $callback_data;
29 29
 
30
-	/**
31
-	 * Optional. Description of the Web App that will be launched when the user presses the button. The Web App will
32
-	 * be able to send an arbitrary message on behalf of the user using the method answerWebAppQuery. Available only
33
-	 * in private chats between a user and the bot.
34
-	 */
35
-	public webAppInfo $web_app;
30
+    /**
31
+     * Optional. Description of the Web App that will be launched when the user presses the button. The Web App will
32
+     * be able to send an arbitrary message on behalf of the user using the method answerWebAppQuery. Available only
33
+     * in private chats between a user and the bot.
34
+     */
35
+    public webAppInfo $web_app;
36 36
 
37
-	/**
38
-	 * Optional. An HTTP URL used to automatically authorize the user. Can be used as a replacement for the Telegram
39
-	 * Login Widget.
40
-	 */
41
-	public loginUrl $login_url;
37
+    /**
38
+     * Optional. An HTTP URL used to automatically authorize the user. Can be used as a replacement for the Telegram
39
+     * Login Widget.
40
+     */
41
+    public loginUrl $login_url;
42 42
 
43
-	/**
44
-	 * Optional. If set, pressing the button will prompt the user to select one of their chats, open that chat and
45
-	 * insert the bot's username and the specified inline query in the input field. Can be empty, in which case just
46
-	 * the bot's username will be inserted.Note: This offers an easy way for users to start using your bot in inline
47
-	 * mode when they are currently in a private chat with it. Especially useful when combined with switch_pm…
48
-	 * actions – in this case the user will be automatically returned to the chat they switched from, skipping the
49
-	 * chat selection screen.
50
-	 */
51
-	public string $switch_inline_query;
43
+    /**
44
+     * Optional. If set, pressing the button will prompt the user to select one of their chats, open that chat and
45
+     * insert the bot's username and the specified inline query in the input field. Can be empty, in which case just
46
+     * the bot's username will be inserted.Note: This offers an easy way for users to start using your bot in inline
47
+     * mode when they are currently in a private chat with it. Especially useful when combined with switch_pm…
48
+     * actions – in this case the user will be automatically returned to the chat they switched from, skipping the
49
+     * chat selection screen.
50
+     */
51
+    public string $switch_inline_query;
52 52
 
53
-	/**
54
-	 * Optional. If set, pressing the button will insert the bot's username and the specified inline query in the
55
-	 * current chat's input field. Can be empty, in which case only the bot's username will be inserted.This offers a
56
-	 * quick way for the user to open your bot in inline mode in the same chat – good for selecting something from
57
-	 * multiple options.
58
-	 */
59
-	public string $switch_inline_query_current_chat;
53
+    /**
54
+     * Optional. If set, pressing the button will insert the bot's username and the specified inline query in the
55
+     * current chat's input field. Can be empty, in which case only the bot's username will be inserted.This offers a
56
+     * quick way for the user to open your bot in inline mode in the same chat – good for selecting something from
57
+     * multiple options.
58
+     */
59
+    public string $switch_inline_query_current_chat;
60 60
 
61
-	/**
62
-	 * Optional. Description of the game that will be launched when the user presses the button.NOTE: This type of
63
-	 * button must always be the first button in the first row.
64
-	 */
65
-	public callbackGame $callback_game;
61
+    /**
62
+     * Optional. Description of the game that will be launched when the user presses the button.NOTE: This type of
63
+     * button must always be the first button in the first row.
64
+     */
65
+    public callbackGame $callback_game;
66 66
 
67
-	/**
68
-	 * Optional. Specify True, to send a Pay button.NOTE: This type of button must always be the first button in the
69
-	 * first row and can only be used in invoice messages.
70
-	 */
71
-	public bool $pay;
67
+    /**
68
+     * Optional. Specify True, to send a Pay button.NOTE: This type of button must always be the first button in the
69
+     * first row and can only be used in invoice messages.
70
+     */
71
+    public bool $pay;
72 72
 
73 73
 
74
-	public function __construct(stdClass $update) {
75
-		parent::__construct($update, self::subs);
76
-	}
74
+    public function __construct(stdClass $update) {
75
+        parent::__construct($update, self::subs);
76
+    }
77 77
 }
Please login to merge, or discard this patch.
types/inlineQueryResultArticle.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -8,47 +8,47 @@
 block discarded – undo
8 8
  * Represents a link to an article or web page.
9 9
  */
10 10
 class inlineQueryResultArticle extends types {
11
-	/** Keep all of properties which has sub properties */
12
-	private const subs = [
13
-		'input_message_content' => 'BPT\types\inputMessageContent',
14
-		'reply_markup' => 'BPT\types\inlineKeyboardMarkup',
15
-	];
11
+    /** Keep all of properties which has sub properties */
12
+    private const subs = [
13
+        'input_message_content' => 'BPT\types\inputMessageContent',
14
+        'reply_markup' => 'BPT\types\inlineKeyboardMarkup',
15
+    ];
16 16
 
17
-	/** Type of the result, must be article */
18
-	public string $type;
17
+    /** Type of the result, must be article */
18
+    public string $type;
19 19
 
20
-	/** Unique identifier for this result, 1-64 Bytes */
21
-	public string $id;
20
+    /** Unique identifier for this result, 1-64 Bytes */
21
+    public string $id;
22 22
 
23
-	/** Title of the result */
24
-	public string $title;
23
+    /** Title of the result */
24
+    public string $title;
25 25
 
26
-	/** Content of the message to be sent */
27
-	public inputMessageContent $input_message_content;
26
+    /** Content of the message to be sent */
27
+    public inputMessageContent $input_message_content;
28 28
 
29
-	/** Optional. Inline keyboard attached to the message */
30
-	public inlineKeyboardMarkup $reply_markup;
29
+    /** Optional. Inline keyboard attached to the message */
30
+    public inlineKeyboardMarkup $reply_markup;
31 31
 
32
-	/** Optional. URL of the result */
33
-	public string $url;
32
+    /** Optional. URL of the result */
33
+    public string $url;
34 34
 
35
-	/** Optional. Pass True, if you don't want the URL to be shown in the message */
36
-	public bool $hide_url;
35
+    /** Optional. Pass True, if you don't want the URL to be shown in the message */
36
+    public bool $hide_url;
37 37
 
38
-	/** Optional. Short description of the result */
39
-	public string $description;
38
+    /** Optional. Short description of the result */
39
+    public string $description;
40 40
 
41
-	/** Optional. Url of the thumbnail for the result */
42
-	public string $thumb_url;
41
+    /** Optional. Url of the thumbnail for the result */
42
+    public string $thumb_url;
43 43
 
44
-	/** Optional. Thumbnail width */
45
-	public int $thumb_width;
44
+    /** Optional. Thumbnail width */
45
+    public int $thumb_width;
46 46
 
47
-	/** Optional. Thumbnail height */
48
-	public int $thumb_height;
47
+    /** Optional. Thumbnail height */
48
+    public int $thumb_height;
49 49
 
50 50
 
51
-	public function __construct(stdClass $update) {
52
-		parent::__construct($update, self::subs);
53
-	}
51
+    public function __construct(stdClass $update) {
52
+        parent::__construct($update, self::subs);
53
+    }
54 54
 }
Please login to merge, or discard this patch.
types/chatInviteLink.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -8,44 +8,44 @@
 block discarded – undo
8 8
  * Represents an invite link for a chat.
9 9
  */
10 10
 class chatInviteLink extends types {
11
-	/** Keep all of properties which has sub properties */
12
-	private const subs = ['creator' => 'BPT\types\user'];
11
+    /** Keep all of properties which has sub properties */
12
+    private const subs = ['creator' => 'BPT\types\user'];
13 13
 
14
-	/**
15
-	 * The invite link. If the link was created by another chat administrator, then the second part of the link will
16
-	 * be replaced with “…”.
17
-	 */
18
-	public string $invite_link;
14
+    /**
15
+     * The invite link. If the link was created by another chat administrator, then the second part of the link will
16
+     * be replaced with “…”.
17
+     */
18
+    public string $invite_link;
19 19
 
20
-	/** Creator of the link */
21
-	public user $creator;
20
+    /** Creator of the link */
21
+    public user $creator;
22 22
 
23
-	/** True, if users joining the chat via the link need to be approved by chat administrators */
24
-	public bool $creates_join_request;
23
+    /** True, if users joining the chat via the link need to be approved by chat administrators */
24
+    public bool $creates_join_request;
25 25
 
26
-	/** True, if the link is primary */
27
-	public bool $is_primary;
26
+    /** True, if the link is primary */
27
+    public bool $is_primary;
28 28
 
29
-	/** True, if the link is revoked */
30
-	public bool $is_revoked;
29
+    /** True, if the link is revoked */
30
+    public bool $is_revoked;
31 31
 
32
-	/** Optional. Invite link name */
33
-	public string $name;
32
+    /** Optional. Invite link name */
33
+    public string $name;
34 34
 
35
-	/** Optional. Point in time (Unix timestamp) when the link will expire or has been expired */
36
-	public int $expire_date;
35
+    /** Optional. Point in time (Unix timestamp) when the link will expire or has been expired */
36
+    public int $expire_date;
37 37
 
38
-	/**
39
-	 * Optional. Maximum number of users that can be members of the chat simultaneously after joining the chat via
40
-	 * this invite link; 1-99999
41
-	 */
42
-	public int $member_limit;
38
+    /**
39
+     * Optional. Maximum number of users that can be members of the chat simultaneously after joining the chat via
40
+     * this invite link; 1-99999
41
+     */
42
+    public int $member_limit;
43 43
 
44
-	/** Optional. Number of pending join requests created using this link */
45
-	public int $pending_join_request_count;
44
+    /** Optional. Number of pending join requests created using this link */
45
+    public int $pending_join_request_count;
46 46
 
47 47
 
48
-	public function __construct(stdClass $update) {
49
-		parent::__construct($update, self::subs);
50
-	}
48
+    public function __construct(stdClass $update) {
49
+        parent::__construct($update, self::subs);
50
+    }
51 51
 }
Please login to merge, or discard this patch.
types/inputTextMessageContent.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -8,23 +8,23 @@
 block discarded – undo
8 8
  * Represents the content of a text message to be sent as the result of an inline query.
9 9
  */
10 10
 class inputTextMessageContent extends types {
11
-	/** Keep all of properties which has sub properties */
12
-	private const subs = [];
11
+    /** Keep all of properties which has sub properties */
12
+    private const subs = [];
13 13
 
14
-	/** Text of the message to be sent, 1-4096 characters */
15
-	public string $message_text;
14
+    /** Text of the message to be sent, 1-4096 characters */
15
+    public string $message_text;
16 16
 
17
-	/** Optional. Mode for parsing entities in the message text. See formatting options for more details. */
18
-	public string $parse_mode;
17
+    /** Optional. Mode for parsing entities in the message text. See formatting options for more details. */
18
+    public string $parse_mode;
19 19
 
20
-	/** Optional. List of special entities that appear in message text, which can be specified instead of parse_mode */
21
-	public array $entities;
20
+    /** Optional. List of special entities that appear in message text, which can be specified instead of parse_mode */
21
+    public array $entities;
22 22
 
23
-	/** Optional. Disables link previews for links in the sent message */
24
-	public bool $disable_web_page_preview;
23
+    /** Optional. Disables link previews for links in the sent message */
24
+    public bool $disable_web_page_preview;
25 25
 
26 26
 
27
-	public function __construct(stdClass $update) {
28
-		parent::__construct($update, self::subs);
29
-	}
27
+    public function __construct(stdClass $update) {
28
+        parent::__construct($update, self::subs);
29
+    }
30 30
 }
Please login to merge, or discard this patch.