SendTracked returns a string id for a send message, and Update can be used to change that message

This commit is contained in:
bel
2022-01-17 20:05:02 -07:00
parent f2c9602d70
commit d4c1e20230
3 changed files with 89 additions and 34 deletions

View File

@@ -4,6 +4,8 @@ import "time"
type Sender interface {
Send(string) error
SendTracked(string) (string, error)
Update(string, string) (string, error)
Receive() ([]Message, error)
}