interfaces.go 287 B

1234567891011121314
  1. package telegram
  2. import tgApi "github.com/go-telegram-bot-api/telegram-bot-api"
  3. type Postable interface {
  4. Message() (string, string)
  5. ChannelKeyboard() tgApi.InlineKeyboardMarkup
  6. }
  7. type Messageable interface {
  8. Message() (string, string)
  9. FullKeyboard() tgApi.InlineKeyboardMarkup
  10. }