Add supergroup upgrade handling and experimental updatesTooLong handling

This commit is contained in:
Tulir Asokan
2017-12-03 11:29:32 +02:00
parent 70075352d2
commit 00c26eef86
5 changed files with 95 additions and 7 deletions
+14
View File
@@ -153,6 +153,20 @@ class TelegramUser {
})
}
sendNotice(roomID, text) {
return this.intent.sendMessage(roomID, {
msgtype: "m.notice",
body: text,
})
}
sendEmote(roomID, text) {
return this.intent.sendMessage(roomID, {
msgtype: "m.emote",
body: text,
})
}
sendText(roomID, text) {
return this.intent.sendText(roomID, text)
}