Categorygithub.com/bots-go-framework/bots-go-core
modulepackage
0.0.3
Repository: https://github.com/bots-go-framework/bots-go-core.git
Documentation: pkg.go.dev

# README

Package github.com/bots-go-framework/bots-go-core

Types and interfaces referenced in bot API clients (like bots-api-telegram) & Bots FW

keyboard.go

package botsgocore

type KeyboardType int

type Keyboard interface {
	KeyboardType() KeyboardType
}

Keyboard types

  • KeyboardTypeNone
  • KeyboardTypeReply
  • KeyboardTypeInline
  • KeyboardTypeBottom
  • KeyboardTypeForceReply

Bot API clients that use this Go module

# Constants

KeyboardTypeBottom for bottom keyboard Used by: Telegram.
KeyboardTypeForceReply to force reply from a user Used by: Telegram.
KeyboardTypeHide commands to hide keyboard Used by: Telegram.
KeyboardTypeInline for inline keyboard Used by: Telegram.
KeyboardTypeNone for no keyboard Used by: Telegram.

# Interfaces

Keyboard defines keyboard.

# Type aliases

KeyboardType defines keyboard type.