Layer 220
InputFile
Abstract type representing one of 3 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.InputFile interface.
Use any of the following constructors:
InputFileBig
Assigns a big file (over 10 MB in size), saved in part using the method upload. save Big File Part.
InputFileStoryDocument
Used to edit the thumbnail/static preview of a story, see here for more info on the full flow.
InputFile
Defines a file saved in parts using the method upload. save File Part.
Gogram Example
// InputFile is an interface type // You can use any of the following constructors: var _ tg.InputFile = &tg.InputFileBig{} var _ tg.InputFile = &tg.InputFileStoryDocument{} var _ tg.InputFile = &tg.InputFile{}