Passed
Push — main ( b0527a...6fd7ec )
by Miaad
01:30
created
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/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/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.
types/inputMediaVideo.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -8,51 +8,51 @@
 block discarded – undo
8 8
  * Represents a video to be sent.
9 9
  */
10 10
 class inputMediaVideo 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 video */
15
-	public string $type;
14
+    /** Type of the result, must be video */
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 video to be sent, 0-1024 characters after entities parsing */
34
-	public string $caption;
33
+    /** Optional. Caption of the video to be sent, 0-1024 characters after entities parsing */
34
+    public string $caption;
35 35
 
36
-	/** Optional. Mode for parsing entities in the video caption. See formatting options for more details. */
37
-	public string $parse_mode;
36
+    /** Optional. Mode for parsing entities in the video 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. Video width */
43
-	public int $width;
42
+    /** Optional. Video width */
43
+    public int $width;
44 44
 
45
-	/** Optional. Video height */
46
-	public int $height;
45
+    /** Optional. Video height */
46
+    public int $height;
47 47
 
48
-	/** Optional. Video duration in seconds */
49
-	public int $duration;
48
+    /** Optional. Video duration in seconds */
49
+    public int $duration;
50 50
 
51
-	/** Optional. Pass True, if the uploaded video is suitable for streaming */
52
-	public bool $supports_streaming;
51
+    /** Optional. Pass True, if the uploaded video is suitable for streaming */
52
+    public bool $supports_streaming;
53 53
 
54 54
 
55
-	public function __construct(stdClass $update) {
56
-		parent::__construct($update, self::subs);
57
-	}
55
+    public function __construct(stdClass $update) {
56
+        parent::__construct($update, self::subs);
57
+    }
58 58
 }
Please login to merge, or discard this patch.
types/inputLocationMessageContent.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -8,35 +8,35 @@
 block discarded – undo
8 8
  * Represents the content of a location message to be sent as the result of an inline query.
9 9
  */
10 10
 class inputLocationMessageContent 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
-	/** Latitude of the location in degrees */
15
-	public float $latitude;
14
+    /** Latitude of the location in degrees */
15
+    public float $latitude;
16 16
 
17
-	/** Longitude of the location in degrees */
18
-	public float $longitude;
17
+    /** Longitude of the location in degrees */
18
+    public float $longitude;
19 19
 
20
-	/** Optional. The radius of uncertainty for the location, measured in meters; 0-1500 */
21
-	public float $horizontal_accuracy;
20
+    /** Optional. The radius of uncertainty for the location, measured in meters; 0-1500 */
21
+    public float $horizontal_accuracy;
22 22
 
23
-	/** Optional. Period in seconds for which the location can be updated, should be between 60 and 86400. */
24
-	public int $live_period;
23
+    /** Optional. Period in seconds for which the location can be updated, should be between 60 and 86400. */
24
+    public int $live_period;
25 25
 
26
-	/**
27
-	 * Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360
28
-	 * if specified.
29
-	 */
30
-	public int $heading;
26
+    /**
27
+     * Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360
28
+     * if specified.
29
+     */
30
+    public int $heading;
31 31
 
32
-	/**
33
-	 * Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member,
34
-	 * in meters. Must be between 1 and 100000 if specified.
35
-	 */
36
-	public int $proximity_alert_radius;
32
+    /**
33
+     * Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member,
34
+     * in meters. Must be between 1 and 100000 if specified.
35
+     */
36
+    public int $proximity_alert_radius;
37 37
 
38 38
 
39
-	public function __construct(stdClass $update) {
40
-		parent::__construct($update, self::subs);
41
-	}
39
+    public function __construct(stdClass $update) {
40
+        parent::__construct($update, self::subs);
41
+    }
42 42
 }
Please login to merge, or discard this patch.
types/videoNote.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -8,32 +8,32 @@
 block discarded – undo
8 8
  * This object represents a video message (available in Telegram apps as of v.4.0).
9 9
  */
10 10
 class videoNote extends types {
11
-	/** Keep all of properties which has sub properties */
12
-	private const subs = ['thumb' => 'BPT\types\photoSize'];
11
+    /** Keep all of properties which has sub properties */
12
+    private const subs = ['thumb' => 'BPT\types\photoSize'];
13 13
 
14
-	/** Identifier for this file, which can be used to download or reuse the file */
15
-	public string $file_id;
14
+    /** Identifier for this file, which can be used to download or reuse the file */
15
+    public string $file_id;
16 16
 
17
-	/**
18
-	 * Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be
19
-	 * used to download or reuse the file.
20
-	 */
21
-	public string $file_unique_id;
17
+    /**
18
+     * Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be
19
+     * used to download or reuse the file.
20
+     */
21
+    public string $file_unique_id;
22 22
 
23
-	/** Video width and height (diameter of the video message) as defined by sender */
24
-	public int $length;
23
+    /** Video width and height (diameter of the video message) as defined by sender */
24
+    public int $length;
25 25
 
26
-	/** Duration of the video in seconds as defined by sender */
27
-	public int $duration;
26
+    /** Duration of the video in seconds as defined by sender */
27
+    public int $duration;
28 28
 
29
-	/** Optional. Video thumbnail */
30
-	public photoSize $thumb;
29
+    /** Optional. Video thumbnail */
30
+    public photoSize $thumb;
31 31
 
32
-	/** Optional. File size in bytes */
33
-	public int $file_size;
32
+    /** Optional. File size in bytes */
33
+    public int $file_size;
34 34
 
35 35
 
36
-	public function __construct(stdClass $update) {
37
-		parent::__construct($update, self::subs);
38
-	}
36
+    public function __construct(stdClass $update) {
37
+        parent::__construct($update, self::subs);
38
+    }
39 39
 }
Please login to merge, or discard this patch.
types/loginUrl.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -11,33 +11,33 @@
 block discarded – undo
11 11
  * Telegram apps support these buttons as of version 5.7.
12 12
  */
13 13
 class loginUrl extends types {
14
-	/** Keep all of properties which has sub properties */
15
-	private const subs = [];
16
-
17
-	/**
18
-	 * An HTTP URL to be opened with user authorization data added to the query string when the button is pressed. If
19
-	 * the user refuses to provide authorization data, the original URL without information about the user will be
20
-	 * opened. The data added is the same as described in Receiving authorization data.NOTE: You must always check
21
-	 * the hash of the received data to verify the authentication and the integrity of the data as described in
22
-	 * Checking authorization.
23
-	 */
24
-	public string $url;
25
-
26
-	/** Optional. New text of the button in forwarded messages. */
27
-	public string $forward_text;
28
-
29
-	/**
30
-	 * Optional. Username of a bot, which will be used for user authorization. See Setting up a bot for more details.
31
-	 * If not specified, the current bot's username will be assumed. The url's domain must be the same as the domain
32
-	 * linked with the bot. See Linking your domain to the bot for more details.
33
-	 */
34
-	public string $bot_username;
35
-
36
-	/** Optional. Pass True to request the permission for your bot to send messages to the user. */
37
-	public bool $request_write_access;
38
-
39
-
40
-	public function __construct(stdClass $update) {
41
-		parent::__construct($update, self::subs);
42
-	}
14
+    /** Keep all of properties which has sub properties */
15
+    private const subs = [];
16
+
17
+    /**
18
+     * An HTTP URL to be opened with user authorization data added to the query string when the button is pressed. If
19
+     * the user refuses to provide authorization data, the original URL without information about the user will be
20
+     * opened. The data added is the same as described in Receiving authorization data.NOTE: You must always check
21
+     * the hash of the received data to verify the authentication and the integrity of the data as described in
22
+     * Checking authorization.
23
+     */
24
+    public string $url;
25
+
26
+    /** Optional. New text of the button in forwarded messages. */
27
+    public string $forward_text;
28
+
29
+    /**
30
+     * Optional. Username of a bot, which will be used for user authorization. See Setting up a bot for more details.
31
+     * If not specified, the current bot's username will be assumed. The url's domain must be the same as the domain
32
+     * linked with the bot. See Linking your domain to the bot for more details.
33
+     */
34
+    public string $bot_username;
35
+
36
+    /** Optional. Pass True to request the permission for your bot to send messages to the user. */
37
+    public bool $request_write_access;
38
+
39
+
40
+    public function __construct(stdClass $update) {
41
+        parent::__construct($update, self::subs);
42
+    }
43 43
 }
Please login to merge, or discard this patch.