mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2025-01-22 05:41:46 +01:00
31 lines
693 B
Markdown
31 lines
693 B
Markdown
---
|
|
title: "keyboardButtonUrl"
|
|
description: "URL button"
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: keyboardButtonUrl
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
URL button
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|text|[string](/API_docs/types/string.html) | Yes|Button label|
|
|
|url|[string](/API_docs/types/string.html) | Yes|URL|
|
|
|
|
|
|
|
|
### Type: [KeyboardButton](/API_docs/types/KeyboardButton.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => 'string', 'url' => 'string'];
|
|
```
|