44 lines
701 B
Markdown
44 lines
701 B
Markdown
---
|
|
title: sendMessageUploadPhotoAction
|
|
description: User uploads a photo
|
|
---
|
|
## Constructor: sendMessageUploadPhotoAction\_17
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
User uploads a photo
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|
|
|
|
### Type: [SendMessageAction](../types/SendMessageAction.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$sendMessageUploadPhotoAction_17 = ['_' => 'sendMessageUploadPhotoAction'];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_": "sendMessageUploadPhotoAction"}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
sendMessageUploadPhotoAction_17={_='sendMessageUploadPhotoAction'}
|
|
|
|
```
|
|
|
|
|