code: def attach_video(self, video: typing.Union[InputMediaVideo, base.InputFile],
                       thumb: typing.Union[base.InputFile, base.String] = None,
                       caption: base.String = None,
                       width: base.Integer = None, height: base.Integer = None, duration: base.Integer = None):
          
          if not isinstance(video, InputMedia):
              video = InputMediaVideo(media=video, thumb=thumb, caption=caption,
                                      width=width, height=height, duration=duration)
          self.attach(video)
docs: Attach video
  
          :param video:
          :param caption:
          :param width:
          :param height:
          :param duration: