mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-23 15:25:14 +00:00
add KeyboardController interface
This commit is contained in:
parent
c76281b6e0
commit
00ae8e89c7
|
@ -46,6 +46,12 @@ type Reply interface {
|
||||||
RemoveKeyboard()
|
RemoveKeyboard()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// KeyboardController is used when messenger supports keyboard controls
|
||||||
|
type KeyboardController interface {
|
||||||
|
// RemoveKeyboard hides the keyboard from the client user interface
|
||||||
|
RemoveKeyboard()
|
||||||
|
}
|
||||||
|
|
||||||
// ButtonReply can be used if your reply needs button user interface.
|
// ButtonReply can be used if your reply needs button user interface.
|
||||||
type ButtonReply interface {
|
type ButtonReply interface {
|
||||||
// AddButton adds the button to the reply
|
// AddButton adds the button to the reply
|
||||||
|
|
Loading…
Reference in New Issue
Block a user