<pclass="paragraph">Use this method to send general files. On success, the sent <ahref="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</a> with <ahref="../dev.inmo.tgbotapi.types.message.content.media/-document-content/index.html">DocumentContent</a> 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.</p><h2class="">See also</h2><divdata-togglable="See also"><divclass="platform-hinted WithExtraAttributes"data-platform-hinted="data-platform-hinted"data-togglable="See also"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divdata-togglable="See also"><divclass="table"data-togglable="See also"><divclass="table-row"data-filterable-current=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/commonMain"><divclass="main-subrow keyValue WithExtraAttributes RowTitle"><divclass=""><spanclass="inline-flex"><ahref="../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>types.</span><wbr></wbr><span>message.</span><wbr></wbr><span>abstracts.</span><wbr></wbr><span>Content</span><wbr></wbr><span><span>Message</span></span></a></span><spanclass="inline-flex"><divdata-togglable="See also"></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/commonMain"><divclass="main-subrow keyValue WithExtraAttributes RowTitle"><divclass=""><spanclass="inline-flex"><ahref="../dev.inmo.tgbotapi.types.message.content.media/-document-content/index.html"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>types.</span><wbr></wbr><span>message.</span><wbr></wbr><span>content.</span><wbr></wbr><span>media.</span><wbr></wbr><span>Document</span><wbr></wbr><span><span>Content</span></span></a></span><spanclass="inline-flex"><divdata-togglable="See also"></div></span></div><div></div></div></div></div></div></div></div></div><h2class="">Parameters</h2><divdata-togglable="Parameters"><divclass="platform-hinted WithExtraAttributes"data-platform-hinted="data-platform-hinted"data-togglable="Parameters"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divdata-togglable="Parameters"><divclass="table"data-togglable="Parameters"><divclass="table-row"data-filterable-current=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><span>disable</span><wbr></wbr><span>Content</span><wbr></wbr><span>Type</span><wbr></wbr><span><span>Detection</span></span></span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">Disables automatic server-side content type detection for <ahref="../dev.inmo.tgbotapi.requests.abstracts/-multipart-file/index.html">document</a></p></div></div></div></div></div></div></div></div></div></div></div>