Layer 220
InputFileLocation
Abstract type representing one of 10 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.InputFileLocation interface.
Use any of the following constructors:
InputEncryptedFileLocation
Location of encrypted secret chat file.
InputFileLocation
DEPRECATED location of a photo
InputDocumentFileLocation
Document location (video, voice, audio, basically every type except photo)
InputSecureFileLocation
Location of encrypted telegram passport file.
InputTakeoutFileLocation
Used to download a JSON file that will contain all personal data related to features that do not hav
InputPhotoFileLocation
Use this object to download a photo with upload. get File method
InputPhotoLegacyFileLocation
DEPRECATED legacy photo file location
InputStickerSetThumb
Location of stickerset thumbnail (see files )
InputPeerPhotoFileLocation
Location of profile photo of channel/group/supergroup/user
InputGroupCallStream
Chunk of a livestream
Gogram Example
// InputFileLocation is an interface type // You can use any of the following constructors: var _ tg.InputFileLocation = &tg.InputEncryptedFileLocation{} var _ tg.InputFileLocation = &tg.InputFileLocation{} var _ tg.InputFileLocation = &tg.InputDocumentFileLocation{} var _ tg.InputFileLocation = &tg.InputSecureFileLocation{} var _ tg.InputFileLocation = &tg.InputTakeoutFileLocation{} // ... and 5 more constructors