mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
add KeyboardController interface
This commit is contained in:
parent
01afe9c14e
commit
ef84742eb7
|
@ -46,6 +46,12 @@ type Reply interface {
|
|||
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.
|
||||
type ButtonReply interface {
|
||||
// AddButton adds the button to the reply
|
||||
|
|
Loading…
Reference in New Issue
Block a user