Skip to main content

InputFileLocation

This is a boxed type (a TL class): the Go interface tg.InputFileLocationClass, 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.InputDocumentFileLocation: // inputDocumentFileLocation
case *tg.InputEncryptedFileLocation: // inputEncryptedFileLocation
case *tg.InputFileLocation: // inputFileLocation
case *tg.InputGroupCallStream: // inputGroupCallStream
case *tg.InputPeerPhotoFileLocation: // inputPeerPhotoFileLocation
case *tg.InputPeerPhotoFileLocationLegacy: // inputPeerPhotoFileLocationLegacy
case *tg.InputPhotoFileLocation: // inputPhotoFileLocation
case *tg.InputPhotoLegacyFileLocation: // inputPhotoLegacyFileLocation
case *tg.InputSecureFileLocation: // inputSecureFileLocation
case *tg.InputStickerSetThumb: // inputStickerSetThumb
case *tg.InputStickerSetThumbLegacy: // inputStickerSetThumbLegacy
case *tg.InputTakeoutFileLocation: // inputTakeoutFileLocation
}

Constructors

ConstructorTL name
InputDocumentFileLocationinputDocumentFileLocation
InputEncryptedFileLocationinputEncryptedFileLocation
InputFileLocationinputFileLocation
InputGroupCallStreaminputGroupCallStream
InputPeerPhotoFileLocationinputPeerPhotoFileLocation
InputPeerPhotoFileLocationLegacyinputPeerPhotoFileLocationLegacy
InputPhotoFileLocationinputPhotoFileLocation
InputPhotoLegacyFileLocationinputPhotoLegacyFileLocation
InputSecureFileLocationinputSecureFileLocation
InputStickerSetThumbinputStickerSetThumb
InputStickerSetThumbLegacyinputStickerSetThumbLegacy
InputTakeoutFileLocationinputTakeoutFileLocation

References