You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Telegram/InlineQueryResultAudio.php
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,6 @@
6
6
7
7
namespaceTelepath\Telegram;
8
8
9
-
useTelepath\Support\ParseMode\ParseMode;
10
-
11
9
/**
12
10
* Represents a link to an MP3 audio file. By default, this audio file will be sent by the user. Alternatively, you can use <em>input_message_content</em> to send a message with the specified content instead of the audio.
13
11
*/
@@ -26,7 +24,7 @@ class InlineQueryResultAudio extends InlineQueryResult
26
24
public ?string$caption = null;
27
25
28
26
/** <em>Optional</em>. Mode for parsing entities in the audio caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details. */
29
-
publicParseMode|string|null$parse_mode = null;
27
+
public?string$parse_mode = null;
30
28
31
29
/**
32
30
* <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
@@ -49,7 +47,7 @@ class InlineQueryResultAudio extends InlineQueryResult
49
47
* @param string $audio_url A valid URL for the audio file
* @param ParseMode|string $parse_mode <em>Optional</em>. Mode for parsing entities in the audio caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
50
+
* @param string $parse_mode <em>Optional</em>. Mode for parsing entities in the audio caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
53
51
* @param MessageEntity[] $caption_entities <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
Copy file name to clipboardExpand all lines: src/Telegram/InlineQueryResultCachedAudio.php
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,6 @@
6
6
7
7
namespaceTelepath\Telegram;
8
8
9
-
useTelepath\Support\ParseMode\ParseMode;
10
-
11
9
/**
12
10
* Represents a link to an MP3 audio file stored on the Telegram servers. By default, this audio file will be sent by the user. Alternatively, you can use <em>input_message_content</em> to send a message with the specified content instead of the audio.
13
11
*/
@@ -23,7 +21,7 @@ class InlineQueryResultCachedAudio extends InlineQueryResult
23
21
public ?string$caption = null;
24
22
25
23
/** <em>Optional</em>. Mode for parsing entities in the audio caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details. */
26
-
publicParseMode|string|null$parse_mode = null;
24
+
public?string$parse_mode = null;
27
25
28
26
/**
29
27
* <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
@@ -39,7 +37,7 @@ class InlineQueryResultCachedAudio extends InlineQueryResult
39
37
* @param string $id Unique identifier for this result, 1-64 bytes
40
38
* @param string $audio_file_id A valid file identifier for the audio file
* @param ParseMode|string $parse_mode <em>Optional</em>. Mode for parsing entities in the audio caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
40
+
* @param string $parse_mode <em>Optional</em>. Mode for parsing entities in the audio caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
43
41
* @param MessageEntity[] $caption_entities <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
44
42
* @param InlineKeyboardMarkup $reply_markup <em>Optional</em>. <a href="https://core.telegram.org/bots/features#inline-keyboards">Inline keyboard</a> attached to the message
45
43
* @param InputMessageContent $input_message_content <em>Optional</em>. Content of the message to be sent instead of the audio
Copy file name to clipboardExpand all lines: src/Telegram/InlineQueryResultCachedDocument.php
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,6 @@
6
6
7
7
namespaceTelepath\Telegram;
8
8
9
-
useTelepath\Support\ParseMode\ParseMode;
10
-
11
9
/**
12
10
* Represents a link to a file stored on the Telegram servers. By default, this file will be sent by the user with an optional caption. Alternatively, you can use <em>input_message_content</em> to send a message with the specified content instead of the file.
13
11
*/
@@ -29,7 +27,7 @@ class InlineQueryResultCachedDocument extends InlineQueryResult
29
27
public ?string$caption = null;
30
28
31
29
/** <em>Optional</em>. Mode for parsing entities in the document caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details. */
32
-
publicParseMode|string|null$parse_mode = null;
30
+
public?string$parse_mode = null;
33
31
34
32
/**
35
33
* <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
@@ -47,7 +45,7 @@ class InlineQueryResultCachedDocument extends InlineQueryResult
47
45
* @param string $document_file_id A valid file identifier for the file
48
46
* @param string $description <em>Optional</em>. Short description of the result
49
47
* @param string $caption <em>Optional</em>. Caption of the document to be sent, 0-1024 characters after entities parsing
50
-
* @param ParseMode|string $parse_mode <em>Optional</em>. Mode for parsing entities in the document caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
48
+
* @param string $parse_mode <em>Optional</em>. Mode for parsing entities in the document caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
51
49
* @param MessageEntity[] $caption_entities <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
52
50
* @param InlineKeyboardMarkup $reply_markup <em>Optional</em>. <a href="https://core.telegram.org/bots/features#inline-keyboards">Inline keyboard</a> attached to the message
53
51
* @param InputMessageContent $input_message_content <em>Optional</em>. Content of the message to be sent instead of the file
Copy file name to clipboardExpand all lines: src/Telegram/InlineQueryResultCachedGif.php
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,6 @@
6
6
7
7
namespaceTelepath\Telegram;
8
8
9
-
useTelepath\Support\ParseMode\ParseMode;
10
-
11
9
/**
12
10
* Represents a link to an animated GIF file stored on the Telegram servers. By default, this animated GIF file will be sent by the user with an optional caption. Alternatively, you can use <em>input_message_content</em> to send a message with specified content instead of the animation.
13
11
*/
@@ -26,7 +24,7 @@ class InlineQueryResultCachedGif extends InlineQueryResult
26
24
public ?string$caption = null;
27
25
28
26
/** <em>Optional</em>. Mode for parsing entities in the caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details. */
29
-
publicParseMode|string|null$parse_mode = null;
27
+
public?string$parse_mode = null;
30
28
31
29
/**
32
30
* <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
@@ -46,7 +44,7 @@ class InlineQueryResultCachedGif extends InlineQueryResult
46
44
* @param string $gif_file_id A valid file identifier for the GIF file
47
45
* @param string $title <em>Optional</em>. Title for the result
48
46
* @param string $caption <em>Optional</em>. Caption of the GIF file to be sent, 0-1024 characters after entities parsing
49
-
* @param ParseMode|string $parse_mode <em>Optional</em>. Mode for parsing entities in the caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
47
+
* @param string $parse_mode <em>Optional</em>. Mode for parsing entities in the caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
50
48
* @param MessageEntity[] $caption_entities <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
51
49
* @param bool $show_caption_above_media <em>Optional</em>. Pass <em>True</em>, if the caption must be shown above the message media
52
50
* @param InlineKeyboardMarkup $reply_markup <em>Optional</em>. <a href="https://core.telegram.org/bots/features#inline-keyboards">Inline keyboard</a> attached to the message
Copy file name to clipboardExpand all lines: src/Telegram/InlineQueryResultCachedMpeg4Gif.php
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,6 @@
6
6
7
7
namespaceTelepath\Telegram;
8
8
9
-
useTelepath\Support\ParseMode\ParseMode;
10
-
11
9
/**
12
10
* Represents a link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers. By default, this animated MPEG-4 file will be sent by the user with an optional caption. Alternatively, you can use <em>input_message_content</em> to send a message with the specified content instead of the animation.
13
11
*/
@@ -26,7 +24,7 @@ class InlineQueryResultCachedMpeg4Gif extends InlineQueryResult
26
24
public ?string$caption = null;
27
25
28
26
/** <em>Optional</em>. Mode for parsing entities in the caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details. */
29
-
publicParseMode|string|null$parse_mode = null;
27
+
public?string$parse_mode = null;
30
28
31
29
/**
32
30
* <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
@@ -46,7 +44,7 @@ class InlineQueryResultCachedMpeg4Gif extends InlineQueryResult
46
44
* @param string $mpeg4_file_id A valid file identifier for the MPEG4 file
47
45
* @param string $title <em>Optional</em>. Title for the result
48
46
* @param string $caption <em>Optional</em>. Caption of the MPEG-4 file to be sent, 0-1024 characters after entities parsing
49
-
* @param ParseMode|string $parse_mode <em>Optional</em>. Mode for parsing entities in the caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
47
+
* @param string $parse_mode <em>Optional</em>. Mode for parsing entities in the caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
50
48
* @param MessageEntity[] $caption_entities <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
51
49
* @param bool $show_caption_above_media <em>Optional</em>. Pass <em>True</em>, if the caption must be shown above the message media
52
50
* @param InlineKeyboardMarkup $reply_markup <em>Optional</em>. <a href="https://core.telegram.org/bots/features#inline-keyboards">Inline keyboard</a> attached to the message
Copy file name to clipboardExpand all lines: src/Telegram/InlineQueryResultCachedPhoto.php
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,6 @@
6
6
7
7
namespaceTelepath\Telegram;
8
8
9
-
useTelepath\Support\ParseMode\ParseMode;
10
-
11
9
/**
12
10
* Represents a link to a photo stored on the Telegram servers. By default, this photo will be sent by the user with an optional caption. Alternatively, you can use <em>input_message_content</em> to send a message with the specified content instead of the photo.
13
11
*/
@@ -29,7 +27,7 @@ class InlineQueryResultCachedPhoto extends InlineQueryResult
29
27
public ?string$caption = null;
30
28
31
29
/** <em>Optional</em>. Mode for parsing entities in the photo caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details. */
32
-
publicParseMode|string|null$parse_mode = null;
30
+
public?string$parse_mode = null;
33
31
34
32
/**
35
33
* <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
@@ -50,7 +48,7 @@ class InlineQueryResultCachedPhoto extends InlineQueryResult
50
48
* @param string $title <em>Optional</em>. Title for the result
51
49
* @param string $description <em>Optional</em>. Short description of the result
52
50
* @param string $caption <em>Optional</em>. Caption of the photo to be sent, 0-1024 characters after entities parsing
53
-
* @param ParseMode|string $parse_mode <em>Optional</em>. Mode for parsing entities in the photo caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
51
+
* @param string $parse_mode <em>Optional</em>. Mode for parsing entities in the photo caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
54
52
* @param MessageEntity[] $caption_entities <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
55
53
* @param bool $show_caption_above_media <em>Optional</em>. Pass <em>True</em>, if the caption must be shown above the message media
56
54
* @param InlineKeyboardMarkup $reply_markup <em>Optional</em>. <a href="https://core.telegram.org/bots/features#inline-keyboards">Inline keyboard</a> attached to the message
Copy file name to clipboardExpand all lines: src/Telegram/InlineQueryResultCachedVideo.php
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,6 @@
6
6
7
7
namespaceTelepath\Telegram;
8
8
9
-
useTelepath\Support\ParseMode\ParseMode;
10
-
11
9
/**
12
10
* Represents a link to a video file stored on the Telegram servers. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use <em>input_message_content</em> to send a message with the specified content instead of the video.
13
11
*/
@@ -29,7 +27,7 @@ class InlineQueryResultCachedVideo extends InlineQueryResult
29
27
public ?string$caption = null;
30
28
31
29
/** <em>Optional</em>. Mode for parsing entities in the video caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details. */
32
-
publicParseMode|string|null$parse_mode = null;
30
+
public?string$parse_mode = null;
33
31
34
32
/**
35
33
* <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
@@ -50,7 +48,7 @@ class InlineQueryResultCachedVideo extends InlineQueryResult
50
48
* @param string $title Title for the result
51
49
* @param string $description <em>Optional</em>. Short description of the result
52
50
* @param string $caption <em>Optional</em>. Caption of the video to be sent, 0-1024 characters after entities parsing
53
-
* @param ParseMode|string $parse_mode <em>Optional</em>. Mode for parsing entities in the video caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
51
+
* @param string $parse_mode <em>Optional</em>. Mode for parsing entities in the video caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
54
52
* @param MessageEntity[] $caption_entities <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
55
53
* @param bool $show_caption_above_media <em>Optional</em>. Pass <em>True</em>, if the caption must be shown above the message media
56
54
* @param InlineKeyboardMarkup $reply_markup <em>Optional</em>. <a href="https://core.telegram.org/bots/features#inline-keyboards">Inline keyboard</a> attached to the message
Copy file name to clipboardExpand all lines: src/Telegram/InlineQueryResultCachedVoice.php
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,6 @@
6
6
7
7
namespaceTelepath\Telegram;
8
8
9
-
useTelepath\Support\ParseMode\ParseMode;
10
-
11
9
/**
12
10
* Represents a link to a voice message stored on the Telegram servers. By default, this voice message will be sent by the user. Alternatively, you can use <em>input_message_content</em> to send a message with the specified content instead of the voice message.
13
11
*/
@@ -26,7 +24,7 @@ class InlineQueryResultCachedVoice extends InlineQueryResult
26
24
public ?string$caption = null;
27
25
28
26
/** <em>Optional</em>. Mode for parsing entities in the voice message caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details. */
29
-
publicParseMode|string|null$parse_mode = null;
27
+
public?string$parse_mode = null;
30
28
31
29
/**
32
30
* <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
@@ -43,7 +41,7 @@ class InlineQueryResultCachedVoice extends InlineQueryResult
43
41
* @param string $voice_file_id A valid file identifier for the voice message
* @param ParseMode|string $parse_mode <em>Optional</em>. Mode for parsing entities in the voice message caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
44
+
* @param string $parse_mode <em>Optional</em>. Mode for parsing entities in the voice message caption. See <a href="https://core.telegram.org/bots/api#formatting-options">formatting options</a> for more details.
47
45
* @param MessageEntity[] $caption_entities <em>Optional</em>. List of special entities that appear in the caption, which can be specified instead of <em>parse_mode</em>
48
46
* @param InlineKeyboardMarkup $reply_markup <em>Optional</em>. <a href="https://core.telegram.org/bots/features#inline-keyboards">Inline keyboard</a> attached to the message
49
47
* @param InputMessageContent $input_message_content <em>Optional</em>. Content of the message to be sent instead of the voice message
0 commit comments