<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":tgbotapi.core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword">typealias </span><strike><ahref="index.html">WithChat</a></strike><spanclass="token operator"> = </span><ahref="../-with-preview-chat/index.html">WithPreviewChat</a></div><divclass="deprecation-content"><h3class="">Deprecated</h3><pclass="paragraph">Renamed</p><h4class="">Replace with</h4><divclass="sample-container"><pre><codeclass="monospace block lang-kotlin"theme="idea">import dev.inmo.tgbotapi.abstracts.WithPreviewChat<br></code></pre><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="sample-container"><pre><codeclass="monospace block lang-kotlin"theme="idea">WithPreviewChat</code></pre><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div><pclass="paragraph">All inheritors of this interface have chat field and related to this chat</p></div></div>