Documentation ¶
Index ¶
- Constants
- type Action
- type AppID
- type Application
- type ApplicationID
- type Button
- type Buttons
- func AppButton(properties ...any) *Buttons
- func ApplicationButton(properties ...any) *Buttons
- func CallbackButton(properties ...any) *Buttons
- func CreateApp(properties ...any) *Buttons
- func CreateApplication(properties ...any) *Buttons
- func CreateCallback(properties ...any) *Buttons
- func CreateLink(properties ...any) *Buttons
- func CreateLocation(properties ...any) *Buttons
- func CreateText(properties ...any) *Buttons
- func LinkButton(properties ...any) *Buttons
- func LocationButton(properties ...any) *Buttons
- func TextButton(properties ...any) *Buttons
- func (buttons *Buttons) App(properties ...any) *Buttons
- func (buttons *Buttons) AppButton(properties ...any) *Buttons
- func (buttons *Buttons) Application(properties ...any) *Buttons
- func (buttons *Buttons) ApplicationButton(properties ...any) *Buttons
- func (buttons *Buttons) Callback(properties ...any) *Buttons
- func (buttons *Buttons) CallbackButton(properties ...any) *Buttons
- func (buttons *Buttons) JSON() string
- func (buttons *Buttons) Link(properties ...any) *Buttons
- func (buttons *Buttons) LinkButton(properties ...any) *Buttons
- func (buttons *Buttons) Location(properties ...any) *Buttons
- func (buttons *Buttons) LocationButton(properties ...any) *Buttons
- func (buttons *Buttons) Text(properties ...any) *Buttons
- func (buttons *Buttons) TextButton(properties ...any) *Buttons
- type Callback
- type Color
- type Hash
- type Keyboard
- type Label
- type Link
- type Location
- type OwnerID
- type Payload
- type ReplyKeyboard
- func (keyboard *ReplyKeyboard) Add(button Button) *ReplyKeyboard
- func (keyboard *ReplyKeyboard) App(properties ...any) *ReplyKeyboard
- func (keyboard *ReplyKeyboard) Application(properties ...any) *ReplyKeyboard
- func (keyboard *ReplyKeyboard) Callback(properties ...any) *ReplyKeyboard
- func (keyboard *ReplyKeyboard) Inline(property ...bool) *ReplyKeyboard
- func (keyboard *ReplyKeyboard) JSON() string
- func (keyboard *ReplyKeyboard) Link(properties ...any) *ReplyKeyboard
- func (keyboard *ReplyKeyboard) Location(properties ...any) *ReplyKeyboard
- func (keyboard *ReplyKeyboard) OneTime(property ...bool) *ReplyKeyboard
- func (keyboard *ReplyKeyboard) Pay(properties ...any) *ReplyKeyboard
- func (keyboard *ReplyKeyboard) Row() *ReplyKeyboard
- func (keyboard *ReplyKeyboard) SetInline(property ...bool) *ReplyKeyboard
- func (keyboard *ReplyKeyboard) SetOneTime(property ...bool) *ReplyKeyboard
- func (keyboard *ReplyKeyboard) Text(properties ...any) *ReplyKeyboard
- func (keyboard *ReplyKeyboard) VKPay(properties ...any) *ReplyKeyboard
- type Text
- type VKPay
- type VKPayHash
Constants ¶
View Source
const ( White = "default" Default = "default" Secondary = "default" Blue = "primary" Primary = "primary" Green = "positive" Positive = "positive" Red = "negative" Negative = "negative" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type ApplicationID ¶
type ApplicationID int
type Buttons ¶
type Buttons []Button
func ApplicationButton ¶
func CallbackButton ¶
func CreateApplication ¶
func CreateCallback ¶
func CreateLink ¶
func CreateLocation ¶
func CreateText ¶
func LinkButton ¶
func LocationButton ¶
func TextButton ¶
func (*Buttons) Application ¶
func (*Buttons) ApplicationButton ¶
func (*Buttons) CallbackButton ¶
func (*Buttons) LinkButton ¶
func (*Buttons) LocationButton ¶
func (*Buttons) TextButton ¶
type ReplyKeyboard ¶
type ReplyKeyboard struct { OneTime_ bool `json:"one_time"` Inline_ bool `json:"inline"` Buttons []Buttons `json:"buttons"` }
func Create ¶
func Create(properties ...any) *ReplyKeyboard
func (*ReplyKeyboard) Add ¶
func (keyboard *ReplyKeyboard) Add(button Button) *ReplyKeyboard
func (*ReplyKeyboard) App ¶
func (keyboard *ReplyKeyboard) App(properties ...any) *ReplyKeyboard
func (*ReplyKeyboard) Application ¶
func (keyboard *ReplyKeyboard) Application(properties ...any) *ReplyKeyboard
func (*ReplyKeyboard) Callback ¶
func (keyboard *ReplyKeyboard) Callback(properties ...any) *ReplyKeyboard
func (*ReplyKeyboard) Inline ¶
func (keyboard *ReplyKeyboard) Inline(property ...bool) *ReplyKeyboard
func (*ReplyKeyboard) JSON ¶
func (keyboard *ReplyKeyboard) JSON() string
func (*ReplyKeyboard) Link ¶
func (keyboard *ReplyKeyboard) Link(properties ...any) *ReplyKeyboard
func (*ReplyKeyboard) Location ¶
func (keyboard *ReplyKeyboard) Location(properties ...any) *ReplyKeyboard
func (*ReplyKeyboard) OneTime ¶
func (keyboard *ReplyKeyboard) OneTime(property ...bool) *ReplyKeyboard
func (*ReplyKeyboard) Pay ¶
func (keyboard *ReplyKeyboard) Pay(properties ...any) *ReplyKeyboard
func (*ReplyKeyboard) Row ¶
func (keyboard *ReplyKeyboard) Row() *ReplyKeyboard
func (*ReplyKeyboard) SetInline ¶
func (keyboard *ReplyKeyboard) SetInline(property ...bool) *ReplyKeyboard
func (*ReplyKeyboard) SetOneTime ¶
func (keyboard *ReplyKeyboard) SetOneTime(property ...bool) *ReplyKeyboard
func (*ReplyKeyboard) Text ¶
func (keyboard *ReplyKeyboard) Text(properties ...any) *ReplyKeyboard
func (*ReplyKeyboard) VKPay ¶
func (keyboard *ReplyKeyboard) VKPay(properties ...any) *ReplyKeyboard
Click to show internal directories.
Click to hide internal directories.