mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-02 23:47:48 +01:00
1.3 KiB
1.3 KiB
title | description |
---|---|
inputBotInlineMessageMediaContact | inputBotInlineMessageMediaContact attributes, type and example |
Constructor: inputBotInlineMessageMediaContact
Attributes:
Name | Type | Required |
---|---|---|
phone_number | string | Yes |
first_name | string | Yes |
last_name | string | Yes |
reply_markup | ReplyMarkup | Optional |
Type: InputBotInlineMessage
Example:
$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup];
PWRTelegram json-encoded version:
{"_": "inputBotInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup}
Or, if you're into Lua:
inputBotInlineMessageMediaContact={_='inputBotInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup}
Usage of reply_markup
You can provide bot API reply_markup objects here.