--- title: inputBotInlineMessageMediaAuto description: inputBotInlineMessageMediaAuto attributes, type and example image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: inputBotInlineMessageMediaAuto [Back to constructors index](index.md) ### Attributes: | Name | Type | Required | |----------|---------------|----------| |caption|[string](../types/string.md) | Yes| ### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) ### Example: ``` $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => 'string']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` {"_": "inputBotInlineMessageMediaAuto", "caption": "string"} ``` Or, if you're into Lua: ``` inputBotInlineMessageMediaAuto={_='inputBotInlineMessageMediaAuto', caption='string'} ```