Raw.InputChatUploadedPhoto

Raw.InputChatUploadedPhoto

New photo to be set as group profile photo.

inputChatUploadedPhoto#bdcdaec0 flags:# file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double video_emoji_markup:flags.3?VideoSize = InputChatPhoto;
export namespace Raw {
  export class InputChatUploadedPhoto {
    constructor(params: {
      file?: Raw.TypeInputFile;
      video?: Raw.TypeInputFile;
      videoStartTs?: number;
      videoEmojiMarkup?: Raw.TypeVideoSize;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xbdcdaec0

Property

  • file : Raw.TypeInputFile or undefined

    File saved in parts using the method upload.savefilepart

  • video : Raw.TypeInputFile or undefined

    Square video for animated profile picture

  • videoStartTs : number or undefined

    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 videoEmojiMarkup is set.

  • videoEmojiMarkup : Raw.TypeVideoSize or undefined

    Animated sticker profile picture, must contain either a videosizeemojimarkup or a videosizestickermarkup constructor.