disable_content_type_detection property

bool disable_content_type_detection
read / write

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

late bool disable_content_type_detection;