Add supergroup upgrade handling and experimental updatesTooLong handling
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user