disableContentTypeDetection property
disableContentTypeDetection If true, automatic file type detection will be disabled and the document will always be sent as file. Always true for files sent to secret chats
Implementation
final bool disableContentTypeDetection;