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
| Constructor | TL name |
|---|---|
InputDocumentFileLocation | inputDocumentFileLocation |
InputEncryptedFileLocation | inputEncryptedFileLocation |
InputFileLocation | inputFileLocation |
InputGroupCallStream | inputGroupCallStream |
InputPeerPhotoFileLocation | inputPeerPhotoFileLocation |
InputPeerPhotoFileLocationLegacy | inputPeerPhotoFileLocationLegacy |
InputPhotoFileLocation | inputPhotoFileLocation |
InputPhotoLegacyFileLocation | inputPhotoLegacyFileLocation |
InputSecureFileLocation | inputSecureFileLocation |
InputStickerSetThumb | inputStickerSetThumb |
InputStickerSetThumbLegacy | inputStickerSetThumbLegacy |
InputTakeoutFileLocation | inputTakeoutFileLocation |