Skip to main content

VideoSize

This is a boxed type (a TL class): the Go interface tg.VideoSizeClass, implemented by the constructors below. A value of this type is one of them — switch on the concrete type to handle it.

switch v := value.(type) {
case *tg.VideoSize: // videoSize
case *tg.VideoSizeEmojiMarkup: // videoSizeEmojiMarkup
case *tg.VideoSizeStickerMarkup: // videoSizeStickerMarkup
}

Constructors

ConstructorTL name
VideoSizevideoSize
VideoSizeEmojiMarkupvideoSizeEmojiMarkup
VideoSizeStickerMarkupvideoSizeStickerMarkup

References