BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
www
/
app.imagivibe.com
/
vendor
/
irazasyed
/
telegram-bot-sdk
/
src
/
Objects
/
InlineQuery
📤 Upload
📝 New File
📁 New Folder
Close
Editing: InlineQueryResultCachedVoice.php
<?php namespace Telegram\Bot\Objects\InlineQuery; /** * Class InlineQueryResultCachedVoice. * * 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 input_message_content to send a message with the specified content instead * of the voice message. * * <code> * [ * 'id' => '', // string - Required. Unique identifier for this result, 1-64 bytes * 'voice_file_id' => '', // string - Required. A valid file identifier for the voice message * 'title' => '', // string - Required. Voice message title * 'caption' => '', // string - (Optional). Caption, 0-200 characters * 'parse_mode' => '', // string - (Optional). Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption. * 'caption_entities' => '', // array - (Optional). List of special entities that appear in the caption, which can be specified instead of parse_mode * 'reply_markup' => '', // InlineKeyboardMarkup - (Optional). Inline keyboard attached to the message * 'input_message_content' => '', // InputMessageContent - (Optional). Content of the message to be sent instead of the photo * ] * </code> * * @link https://core.telegram.org/bots/api#inlinequeryresultcachedvoice * * @method $this setId(string) Unique identifier for this result, 1-64 bytes * @method $this setVoiceFileId(string) A valid file identifier for the voice message * @method $this setTitle(string) Voice message title * @method $this setCaption(string) (Optional). Caption, 0-200 characters * @method $this setParseMode(string) (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 $this setReplyMarkup(object) (Optional). Inline keyboard attached to the message * @method $this setInputMessageContent(object) (Optional). Content of the message to be sent instead of the photo */ class InlineQueryResultCachedVoice extends InlineBaseObject { protected $type = 'voice'; }
Save
Cancel