Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>InputChatUploadedPhoto_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class InputChatUploadedPhoto_
import { InputChatUploadedPhoto_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

New photo to be set as group profile photo.

Constructors

new
InputChatUploadedPhoto_(params?: { file?: enums.InputFile; video?: enums.InputFile; video_start_ts?: number; video_emoji_markup?: enums.VideoSize; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
file: enums.InputFile

File saved in parts using the method upload.saveFilePart

optional
video: enums.InputFile

Square video for animated profile picture

optional
video_emoji_markup: enums.VideoSize

Animated sticker profile picture, must contain either a videoSizeEmojiMarkup or a videoSizeStickerMarkup constructor.

optional
video_start_ts: number

Floating point UNIX timestamp in seconds, indicating the frame of the video/sticker that should be used as static preview; can only be used if video or video_emoji_markup is set.

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc