MadelineProtoDocs/docs/TD_docs/constructors/inputMessagePhoto.md

30 lines
1019 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: inputMessagePhoto
description: Photo message
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
2018-04-05 01:19:57 +02:00
# Constructor: inputMessagePhoto
2018-04-01 13:19:25 +02:00
[Back to constructors index](index.md)
Photo message
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|photo|[InputFile](../types/InputFile.md) | Yes|Photo to send|
|thumb|[inputThumb](../constructors/inputThumb.md) | Yes|Photo thumb to send, is sent to the other party in secret chats only|
|added\_sticker\_file\_ids|Array of [int](../types/int.md) | Yes|File identifiers of stickers added onto the photo|
|width|[int](../types/int.md) | Yes|Photo width|
|height|[int](../types/int.md) | Yes|Photo height|
|caption|[string](../types/string.md) | Yes|Photo caption, 0-200 characters|
|ttl|[int](../types/int.md) | Yes|Photo TTL in seconds, 0-60. Non-zero TTL can be only specified in private chats|
### Type: [InputMessageContent](../types/InputMessageContent.md)