Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
what is inputFileGenerated? #126
It should be used whenever not yet existed file needs to be sent. For example,
To achieve that the client specifies two pretty arbitrary strings
For example, a client can use for the mentioned cases:
There are a lot of more complex cases when inputFileGenerated can be used. Basically all cases except sending a local/already sent file should be covered by inputFileGenerated.
There is no built-in conversions except "#url#" used for files, which need to de downloaded from an HTTP/HTTPS URL. But even that conversion needs to be handled and implemented by the client.
Also, all conversions beginning with '#' are reserved for internal TDLib usage.