Layer 227
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:
InputDocumentFileLocation
Document location (video, voice, audio, basically every type except photo)
InputEncryptedFileLocation
Location of encrypted secret chat file.
InputFileLocation
DEPRECATED location of a photo
InputGroupCallStream
Identifies a media chunk of an RTMP-mode video chat, livestream or live story, see playing an RTMP l
InputPeerPhotoFileLocation
Location of profile photo of channel/group/supergroup/user
InputPhotoFileLocation
Use this object to download a photo with upload. get File method
InputPhotoLegacyFileLocation
DEPRECATED legacy photo file location
InputSecureFileLocation
Location of encrypted telegram passport file.
InputStickerSetThumb
Location of stickerset thumbnail (see files )
InputTakeoutFileLocation
Used to download a JSON file that will contain all personal data related to features that do not hav
Gogram Example
// InputFileLocation is an interface type // You can use any of the following constructors: var _ tg.InputFileLocation = &tg.InputDocumentFileLocation{} var _ tg.InputFileLocation = &tg.InputEncryptedFileLocation{} var _ tg.InputFileLocation = &tg.InputFileLocation{} var _ tg.InputFileLocation = &tg.InputGroupCallStream{} var _ tg.InputFileLocation = &tg.InputPeerPhotoFileLocation{} // ... and 5 more constructors