Passed
Branch main (01a6e7)
by Miaad
01:27
created
types/botCommandScopeChatAdministrators.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -8,17 +8,17 @@
 block discarded – undo
8 8
  * Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.
9 9
  */
10 10
 class botCommandScopeChatAdministrators 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
-	/** Scope type, must be chat_administrators */
15
-	public string $type;
14
+    /** Scope type, must be chat_administrators */
15
+    public string $type;
16 16
 
17
-	/** Unique identifier for the target chat or username of the target supergroup (in the format supergroupusername) */
18
-	public int $chat_id;
17
+    /** Unique identifier for the target chat or username of the target supergroup (in the format supergroupusername) */
18
+    public int $chat_id;
19 19
 
20 20
 
21
-	public function __construct(stdClass $update) {
22
-		parent::__construct($update, self::subs);
23
-	}
21
+    public function __construct(stdClass $update) {
22
+        parent::__construct($update, self::subs);
23
+    }
24 24
 }
Please login to merge, or discard this patch.
types/chatMemberAdministrator.php 1 patch
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -8,64 +8,64 @@
 block discarded – undo
8 8
  * Represents a chat member that has some additional privileges.
9 9
  */
10 10
 class chatMemberAdministrator 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 “administrator” */
15
-	public string $status;
14
+    /** The member's status in the chat, always “administrator” */
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
-	/** True, if the bot is allowed to edit administrator privileges of that user */
21
-	public bool $can_be_edited;
20
+    /** True, if the bot is allowed to edit administrator privileges of that user */
21
+    public bool $can_be_edited;
22 22
 
23
-	/** True, if the user's presence in the chat is hidden */
24
-	public bool $is_anonymous;
23
+    /** True, if the user's presence in the chat is hidden */
24
+    public bool $is_anonymous;
25 25
 
26
-	/**
27
-	 * True, if the administrator can access the chat event log, chat statistics, message statistics in channels, see
28
-	 * channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other
29
-	 * administrator privilege
30
-	 */
31
-	public bool $can_manage_chat;
26
+    /**
27
+     * True, if the administrator can access the chat event log, chat statistics, message statistics in channels, see
28
+     * channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other
29
+     * administrator privilege
30
+     */
31
+    public bool $can_manage_chat;
32 32
 
33
-	/** True, if the administrator can delete messages of other users */
34
-	public bool $can_delete_messages;
33
+    /** True, if the administrator can delete messages of other users */
34
+    public bool $can_delete_messages;
35 35
 
36
-	/** True, if the administrator can manage video chats */
37
-	public bool $can_manage_video_chats;
36
+    /** True, if the administrator can manage video chats */
37
+    public bool $can_manage_video_chats;
38 38
 
39
-	/** True, if the administrator can restrict, ban or unban chat members */
40
-	public bool $can_restrict_members;
39
+    /** True, if the administrator can restrict, ban or unban chat members */
40
+    public bool $can_restrict_members;
41 41
 
42
-	/**
43
-	 * True, if the administrator can add new administrators with a subset of their own privileges or demote
44
-	 * administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by
45
-	 * the user)
46
-	 */
47
-	public bool $can_promote_members;
42
+    /**
43
+     * True, if the administrator can add new administrators with a subset of their own privileges or demote
44
+     * administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by
45
+     * the user)
46
+     */
47
+    public bool $can_promote_members;
48 48
 
49
-	/** True, if the user is allowed to change the chat title, photo and other settings */
50
-	public bool $can_change_info;
49
+    /** True, if the user is allowed to change the chat title, photo and other settings */
50
+    public bool $can_change_info;
51 51
 
52
-	/** True, if the user is allowed to invite new users to the chat */
53
-	public bool $can_invite_users;
52
+    /** True, if the user is allowed to invite new users to the chat */
53
+    public bool $can_invite_users;
54 54
 
55
-	/** Optional. True, if the administrator can post in the channel; channels only */
56
-	public bool $can_post_messages;
55
+    /** Optional. True, if the administrator can post in the channel; channels only */
56
+    public bool $can_post_messages;
57 57
 
58
-	/** Optional. True, if the administrator can edit messages of other users and can pin messages; channels only */
59
-	public bool $can_edit_messages;
58
+    /** Optional. True, if the administrator can edit messages of other users and can pin messages; channels only */
59
+    public bool $can_edit_messages;
60 60
 
61
-	/** Optional. True, if the user is allowed to pin messages; groups and supergroups only */
62
-	public bool $can_pin_messages;
61
+    /** Optional. True, if the user is allowed to pin messages; groups and supergroups only */
62
+    public bool $can_pin_messages;
63 63
 
64
-	/** Optional. Custom title for this user */
65
-	public string $custom_title;
64
+    /** Optional. Custom title for this user */
65
+    public string $custom_title;
66 66
 
67 67
 
68
-	public function __construct(stdClass $update) {
69
-		parent::__construct($update, self::subs);
70
-	}
68
+    public function __construct(stdClass $update) {
69
+        parent::__construct($update, self::subs);
70
+    }
71 71
 }
Please login to merge, or discard this patch.
types/contact.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -8,30 +8,30 @@
 block discarded – undo
8 8
  * This object represents a phone contact.
9 9
  */
10 10
 class contact 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
-	/** Contact's phone number */
15
-	public string $phone_number;
14
+    /** Contact's phone number */
15
+    public string $phone_number;
16 16
 
17
-	/** Contact's first name */
18
-	public string $first_name;
17
+    /** Contact's first name */
18
+    public string $first_name;
19 19
 
20
-	/** Optional. Contact's last name */
21
-	public string $last_name;
20
+    /** Optional. Contact's last name */
21
+    public string $last_name;
22 22
 
23
-	/**
24
-	 * Optional. Contact's user identifier in Telegram. This number may have more than 32 significant bits and some
25
-	 * programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant
26
-	 * bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.
27
-	 */
28
-	public int $user_id;
23
+    /**
24
+     * Optional. Contact's user identifier in Telegram. This number may have more than 32 significant bits and some
25
+     * programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant
26
+     * bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.
27
+     */
28
+    public int $user_id;
29 29
 
30
-	/** Optional. Additional data about the contact in the form of a vCard */
31
-	public string $vcard;
30
+    /** Optional. Additional data about the contact in the form of a vCard */
31
+    public string $vcard;
32 32
 
33 33
 
34
-	public function __construct(stdClass $update) {
35
-		parent::__construct($update, self::subs);
36
-	}
34
+    public function __construct(stdClass $update) {
35
+        parent::__construct($update, self::subs);
36
+    }
37 37
 }
Please login to merge, or discard this patch.
types/chatMemberRestricted.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -8,47 +8,47 @@
 block discarded – undo
8 8
  * Represents a chat member that is under certain restrictions in the chat. Supergroups only.
9 9
  */
10 10
 class chatMemberRestricted 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 “restricted” */
15
-	public string $status;
14
+    /** The member's status in the chat, always “restricted” */
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
-	/** True, if the user is a member of the chat at the moment of the request */
21
-	public bool $is_member;
20
+    /** True, if the user is a member of the chat at the moment of the request */
21
+    public bool $is_member;
22 22
 
23
-	/** True, if the user is allowed to change the chat title, photo and other settings */
24
-	public bool $can_change_info;
23
+    /** True, if the user is allowed to change the chat title, photo and other settings */
24
+    public bool $can_change_info;
25 25
 
26
-	/** True, if the user is allowed to invite new users to the chat */
27
-	public bool $can_invite_users;
26
+    /** True, if the user is allowed to invite new users to the chat */
27
+    public bool $can_invite_users;
28 28
 
29
-	/** True, if the user is allowed to pin messages */
30
-	public bool $can_pin_messages;
29
+    /** True, if the user is allowed to pin messages */
30
+    public bool $can_pin_messages;
31 31
 
32
-	/** True, if the user is allowed to send text messages, contacts, locations and venues */
33
-	public bool $can_send_messages;
32
+    /** True, if the user is allowed to send text messages, contacts, locations and venues */
33
+    public bool $can_send_messages;
34 34
 
35
-	/** True, if the user is allowed to send audios, documents, photos, videos, video notes and voice notes */
36
-	public bool $can_send_media_messages;
35
+    /** True, if the user is allowed to send audios, documents, photos, videos, video notes and voice notes */
36
+    public bool $can_send_media_messages;
37 37
 
38
-	/** True, if the user is allowed to send polls */
39
-	public bool $can_send_polls;
38
+    /** True, if the user is allowed to send polls */
39
+    public bool $can_send_polls;
40 40
 
41
-	/** True, if the user is allowed to send animations, games, stickers and use inline bots */
42
-	public bool $can_send_other_messages;
41
+    /** True, if the user is allowed to send animations, games, stickers and use inline bots */
42
+    public bool $can_send_other_messages;
43 43
 
44
-	/** True, if the user is allowed to add web page previews to their messages */
45
-	public bool $can_add_web_page_previews;
44
+    /** True, if the user is allowed to add web page previews to their messages */
45
+    public bool $can_add_web_page_previews;
46 46
 
47
-	/** Date when restrictions will be lifted for this user; unix time. If 0, then the user is restricted forever */
48
-	public int $until_date;
47
+    /** Date when restrictions will be lifted for this user; unix time. If 0, then the user is restricted forever */
48
+    public int $until_date;
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/inputMediaAnimation.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 animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.
9 9
  */
10 10
 class inputMediaAnimation 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 animation */
15
-	public string $type;
14
+    /** Type of the result, must be animation */
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 animation to be sent, 0-1024 characters after entities parsing */
34
-	public string $caption;
33
+    /** Optional. Caption of the animation to be sent, 0-1024 characters after entities parsing */
34
+    public string $caption;
35 35
 
36
-	/** Optional. Mode for parsing entities in the animation caption. See formatting options for more details. */
37
-	public string $parse_mode;
36
+    /** Optional. Mode for parsing entities in the animation 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. Animation width */
43
-	public int $width;
42
+    /** Optional. Animation width */
43
+    public int $width;
44 44
 
45
-	/** Optional. Animation height */
46
-	public int $height;
45
+    /** Optional. Animation height */
46
+    public int $height;
47 47
 
48
-	/** Optional. Animation duration in seconds */
49
-	public int $duration;
48
+    /** Optional. Animation duration in seconds */
49
+    public int $duration;
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/inlineQueryResultVoice.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -10,44 +10,44 @@
 block discarded – undo
10 10
  * the specified content instead of the the voice message.
11 11
  */
12 12
 class inlineQueryResultVoice 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 voice */
20
-	public string $type;
19
+    /** Type of the result, must be voice */
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 voice recording */
26
-	public string $voice_url;
25
+    /** A valid URL for the voice recording */
26
+    public string $voice_url;
27 27
 
28
-	/** Recording title */
29
-	public string $title;
28
+    /** Recording title */
29
+    public string $title;
30 30
 
31
-	/** Optional. Caption, 0-1024 characters after entities parsing */
32
-	public string $caption;
31
+    /** Optional. Caption, 0-1024 characters after entities parsing */
32
+    public string $caption;
33 33
 
34
-	/** Optional. Mode for parsing entities in the voice message caption. See formatting options for more details. */
35
-	public string $parse_mode;
34
+    /** Optional. Mode for parsing entities in the voice message caption. See formatting options for more details. */
35
+    public string $parse_mode;
36 36
 
37
-	/** Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode */
38
-	public array $caption_entities;
37
+    /** Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode */
38
+    public array $caption_entities;
39 39
 
40
-	/** Optional. Recording duration in seconds */
41
-	public int $voice_duration;
40
+    /** Optional. Recording duration in seconds */
41
+    public int $voice_duration;
42 42
 
43
-	/** Optional. Inline keyboard attached to the message */
44
-	public inlineKeyboardMarkup $reply_markup;
43
+    /** Optional. Inline keyboard attached to the message */
44
+    public inlineKeyboardMarkup $reply_markup;
45 45
 
46
-	/** Optional. Content of the message to be sent instead of the voice recording */
47
-	public inputMessageContent $input_message_content;
46
+    /** Optional. Content of the message to be sent instead of the voice recording */
47
+    public inputMessageContent $input_message_content;
48 48
 
49 49
 
50
-	public function __construct(stdClass $update) {
51
-		parent::__construct($update, self::subs);
52
-	}
50
+    public function __construct(stdClass $update) {
51
+        parent::__construct($update, self::subs);
52
+    }
53 53
 }
Please login to merge, or discard this patch.
types/chatPermissions.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -8,47 +8,47 @@
 block discarded – undo
8 8
  * Describes actions that a non-administrator user is allowed to take in a chat.
9 9
  */
10 10
 class chatPermissions 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
-	/** Optional. True, if the user is allowed to send text messages, contacts, locations and venues */
15
-	public bool $can_send_messages;
14
+    /** Optional. True, if the user is allowed to send text messages, contacts, locations and venues */
15
+    public bool $can_send_messages;
16 16
 
17
-	/**
18
-	 * Optional. True, if the user is allowed to send audios, documents, photos, videos, video notes and voice notes,
19
-	 * implies can_send_messages
20
-	 */
21
-	public bool $can_send_media_messages;
17
+    /**
18
+     * Optional. True, if the user is allowed to send audios, documents, photos, videos, video notes and voice notes,
19
+     * implies can_send_messages
20
+     */
21
+    public bool $can_send_media_messages;
22 22
 
23
-	/** Optional. True, if the user is allowed to send polls, implies can_send_messages */
24
-	public bool $can_send_polls;
23
+    /** Optional. True, if the user is allowed to send polls, implies can_send_messages */
24
+    public bool $can_send_polls;
25 25
 
26
-	/**
27
-	 * Optional. True, if the user is allowed to send animations, games, stickers and use inline bots, implies
28
-	 * can_send_media_messages
29
-	 */
30
-	public bool $can_send_other_messages;
26
+    /**
27
+     * Optional. True, if the user is allowed to send animations, games, stickers and use inline bots, implies
28
+     * can_send_media_messages
29
+     */
30
+    public bool $can_send_other_messages;
31 31
 
32
-	/**
33
-	 * Optional. True, if the user is allowed to add web page previews to their messages, implies
34
-	 * can_send_media_messages
35
-	 */
36
-	public bool $can_add_web_page_previews;
32
+    /**
33
+     * Optional. True, if the user is allowed to add web page previews to their messages, implies
34
+     * can_send_media_messages
35
+     */
36
+    public bool $can_add_web_page_previews;
37 37
 
38
-	/**
39
-	 * Optional. True, if the user is allowed to change the chat title, photo and other settings. Ignored in public
40
-	 * supergroups
41
-	 */
42
-	public bool $can_change_info;
38
+    /**
39
+     * Optional. True, if the user is allowed to change the chat title, photo and other settings. Ignored in public
40
+     * supergroups
41
+     */
42
+    public bool $can_change_info;
43 43
 
44
-	/** Optional. True, if the user is allowed to invite new users to the chat */
45
-	public bool $can_invite_users;
44
+    /** Optional. True, if the user is allowed to invite new users to the chat */
45
+    public bool $can_invite_users;
46 46
 
47
-	/** Optional. True, if the user is allowed to pin messages. Ignored in public supergroups */
48
-	public bool $can_pin_messages;
47
+    /** Optional. True, if the user is allowed to pin messages. Ignored in public supergroups */
48
+    public bool $can_pin_messages;
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/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.