41 lines
1.0 KiB
Markdown
41 lines
1.0 KiB
Markdown
---
|
|
title: inputChatUploadedPhoto
|
|
description: New photo to be set as group profile photo.
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: inputChatUploadedPhoto
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
New photo to be set as group profile photo.
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|file|[File path or InputFile](../types/InputFile.md) | Optional|File saved in parts using the method [upload.saveFilePart](../methods/upload.saveFilePart.md)|
|
|
|video|[File path or InputFile](../types/InputFile.md) | Optional|
|
|
|video\_start\_ts|[double](../types/double.md) | Optional|
|
|
|
|
|
|
|
|
### Type: [InputChatPhoto](../types/InputChatPhoto.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```php
|
|
$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'video' => InputFile, 'video_start_ts' => double];
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
```lua
|
|
inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile, video=InputFile, video_start_ts=double}
|
|
|
|
```
|
|
|
|
|