Send Document Data
@Serializable
Use this method to send general files. On success, the sent ContentMessage with DocumentContent is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.
See also
Parameters
disable Content Type Detection
Disables automatic server-side content type detection for document
Functions
Properties
Link copied to clipboard
Extensions
Link copied to clipboard
fun TextedWithTextSources.parseCommandsWithParams(argsSeparator: Regex = defaultArgsSeparator): Map<String, Array<String>>
Parse commands and their args. Logic will find command, get all subsequent data as args until new command