Small fixes
This commit is contained in:
parent
3a27831112
commit
feaf75b327
5 changed files with 53 additions and 29 deletions
|
@ -65,6 +65,10 @@ func (evt *Event) Interface() *maubot.Event {
|
|||
return mbEvent
|
||||
}
|
||||
|
||||
func (evt *Event) MarkRead() error {
|
||||
return evt.Client.MarkRead(evt.RoomID, evt.ID)
|
||||
}
|
||||
|
||||
func (evt *Event) Reply(text string) (string, error) {
|
||||
return evt.SendRawEvent(maubot.EventMessage,
|
||||
SetReply(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue