MadelineProto/docs/TD_docs/constructors/inputMessagePhoto.md

29 lines
939 B
Markdown
Raw Normal View History

---
title: inputMessagePhoto
description: Photo message
---
## Constructor: inputMessagePhoto
[Back to constructors index](index.md)
Photo message
### Attributes:
| Name | Type | Required | Description |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
|photo|[InputFile](../types/InputFile.md) | Yes|Photo to send|
|thumb|[InputThumb](../types/InputThumb.md) | Yes|Photo thumb to send, is sent to the other party in secret chats only|
2017-09-29 15:50:59 +02:00
|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|
2017-08-25 15:05:53 +02:00
|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)