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
*sendAudio*, *sendDocument*, *sendSticker*, *sendVideo*, *sendVoice* and *sendVideoNote* all work in the same way, just check the [API documentation](https://core.telegram.org/bots/api#sendphoto) for the exact usage.
367
+
*sendAudio*, *sendDocument*, *sendAnimation*, *sendSticker*, *sendVideo*, *sendVoice* and *sendVideoNote* all work in the same way, just check the [API documentation](https://core.telegram.org/bots/api#sendphoto) for the exact usage.
368
368
See the [*ImageCommand.php*][ImageCommand.php] for a full example.
Copy file name to clipboardExpand all lines: src/Entities/InlineQuery/InlineQueryResultVenue.php
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@
41
41
* @method string getTitle() Title of the venue
42
42
* @method string getAddress() Address of the venue
43
43
* @method string getFoursquareId() Optional. Foursquare identifier of the venue if known
44
+
* @method string getFoursquareType() Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
44
45
* @method InlineKeyboard getReplyMarkup() Optional. Inline keyboard attached to the message
45
46
* @method InputMessageContent getInputMessageContent() Optional. Content of the message to be sent instead of the venue
46
47
* @method string getThumbUrl() Optional. Url of the thumbnail for the result
@@ -53,6 +54,7 @@
53
54
* @method $this setTitle(string $title) Title of the venue
54
55
* @method $this setAddress(string $address) Address of the venue
55
56
* @method $this setFoursquareId(string $foursquare_id) Optional. Foursquare identifier of the venue if known
57
+
* @method $this setFoursquareType(string $foursquare_type) Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
56
58
* @method $this setReplyMarkup(InlineKeyboard $reply_markup) Optional. Inline keyboard attached to the message
57
59
* @method $this setInputMessageContent(InputMessageContent $input_message_content) Optional. Content of the message to be sent instead of the venue
58
60
* @method $this setThumbUrl(string $thumb_url) Optional. Url of the thumbnail for the result
* @method string getType() Type of the result, must be animation
33
+
* @method string getMedia() File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More info on Sending Files »
34
+
* @method string getThumb() Optional. Thumbnail of the file sent. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail‘s width and height should not exceed 90. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can’t be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More info on Sending Files »
35
+
* @method string getCaption() Optional. Caption of the animation to be sent, 0-200 characters
36
+
* @method string getParseMode() Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
37
+
* @method int getWidth() Optional. Animation width
38
+
* @method int getHeight() Optional. Animation height
39
+
* @method int getDuration() Optional. Animation duration
40
+
*
41
+
* @method $this setMedia(string $media) File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More info on Sending Files »
42
+
* @method $this setThumb(string $thumb) Optional. Thumbnail of the file sent. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail‘s width and height should not exceed 90. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can’t be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More info on Sending Files »
43
+
* @method $this setCaption(string $caption) Optional. Caption of the animation to be sent, 0-200 characters
44
+
* @method $this setParseMode(string $parse_mode) Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
* @method string getType() Type of the result, must be audio
33
+
* @method string getMedia() File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass "attach://<file_attach_name>" to upload a new one using multipart/form-data under <file_attach_name> name.
34
+
* @method string getThumb() Optional. Thumbnail of the file sent. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail‘s width and height should not exceed 90. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can’t be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More info on Sending Files »
35
+
* @method string getCaption() Optional. Caption of the audio to be sent, 0-200 characters
36
+
* @method string getParseMode() Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
37
+
* @method int getDuration() Optional. Duration of the audio in seconds
38
+
* @method string getPerformer() Optional. Performer of the audio
39
+
* @method string getTitle() Optional. Title of the audio
40
+
*
41
+
* @method $this setMedia(string $media) File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass "attach://<file_attach_name>" to upload a new one using multipart/form-data under <file_attach_name> name.
42
+
* @method $this setThumb(string $thumb) Optional. Thumbnail of the file sent. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail‘s width and height should not exceed 90. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can’t be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More info on Sending Files »
43
+
* @method $this setCaption(string $caption) Optional. Caption of the audio to be sent, 0-200 characters
44
+
* @method $this setParseMode(string $parse_mode) Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
45
+
* @method $this setDuration(int $duration) Optional. Duration of the audio in seconds
46
+
* @method $this setPerformer(string $performer) Optional. Performer of the audio
47
+
* @method $this setTitle(string $title) Optional. Title of the audio
48
+
*/
49
+
class InputMediaAudio extends Entity implements InputMedia
0 commit comments