diff --git a/gramjs/extensions/html.ts b/gramjs/extensions/html.ts
index 7d2b0571..4c73250a 100644
--- a/gramjs/extensions/html.ts
+++ b/gramjs/extensions/html.ts
@@ -46,6 +46,9 @@ class HTMLToTelegramParser implements Handler {
EntityType = Api.MessageEntityStrike;
} else if (name == "blockquote") {
EntityType = Api.MessageEntityBlockquote;
+ if (attributes.expandable !== undefined) {
+ args.collapsed = true;
+ }
} else if (name == "code") {
const pre = this._buildingEntities.get("pre");
if (pre && pre instanceof Api.MessageEntityPre) {