Fixed ReplyingTo invalid type
This commit is contained in:
parent
7cb512f8b1
commit
903fe9fbfd
3
cchat.go
3
cchat.go
|
@ -83,7 +83,6 @@
|
||||||
package cchat
|
package cchat
|
||||||
|
|
||||||
import (
|
import (
|
||||||
cchat "cchat"
|
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
text "github.com/diamondburned/cchat/text"
|
text "github.com/diamondburned/cchat/text"
|
||||||
|
@ -638,7 +637,7 @@ type Noncer interface {
|
||||||
// Frontends that support replies can assume that all messages in a Sender can
|
// Frontends that support replies can assume that all messages in a Sender can
|
||||||
// be replied to, and the backend can choose to do nothing to the replied ID.
|
// be replied to, and the backend can choose to do nothing to the replied ID.
|
||||||
type Replier interface {
|
type Replier interface {
|
||||||
ReplyingTo() cchat.ID
|
ReplyingTo() ID
|
||||||
}
|
}
|
||||||
|
|
||||||
// SendableMessage is the bare minimum interface of a sendable message, that is,
|
// SendableMessage is the bare minimum interface of a sendable message, that is,
|
||||||
|
|
Binary file not shown.
|
@ -1926,7 +1926,7 @@ var Main = Packages{
|
||||||
Methods: []Method{
|
Methods: []Method{
|
||||||
GetterMethod{
|
GetterMethod{
|
||||||
method: method{Name: "ReplyingTo"},
|
method: method{Name: "ReplyingTo"},
|
||||||
Returns: []NamedType{{Type: "cchat.ID"}},
|
Returns: []NamedType{{Type: "ID"}},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
|
|
Loading…
Reference in New Issue