Documentation
¶
Index ¶
- Constants
- type Builder
- func (b *Builder) Build() Keyboard
- func (b *Builder) Callback(text string, p payload.Payload) *Builder
- func (b *Builder) Color(color string) *Builder
- func (b *Builder) OneTime(v bool) *Builder
- func (b *Builder) Persistent(v bool) *Builder
- func (b *Builder) Placeholder(v string) *Builder
- func (b *Builder) Resize(v bool) *Builder
- func (b *Builder) Row() *Builder
- func (b *Builder) Selective(v bool) *Builder
- func (b *Builder) Text(text string) *Builder
- func (b *Builder) URL(text, url string) *Builder
- type Button
- type ButtonKind
- type Keyboard
- type Kind
- type Options
Constants ¶
View Source
const ( ColorPrimary = "primary" ColorSecondary = "secondary" ColorPositive = "positive" ColorNegative = "negative" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func (*Builder) Persistent ¶
func (*Builder) Placeholder ¶
type ButtonKind ¶
type ButtonKind string
const ( ButtonCallback ButtonKind = "callback" ButtonURL ButtonKind = "url" ButtonText ButtonKind = "text" ButtonNative ButtonKind = "native" )
Click to show internal directories.
Click to hide internal directories.