SkillAgentSearch skills...

Keyboard

Build reply markup keyboards easier than ever.

Install / Use

/learn @UnmaintainedProjects/Keyboard
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

gotgbot keyboard

Build reply markup keyboards easier than ever.

Installation

go get github.com/gotgbot/keyboard

Docs

go.dev

Example

Inline

import "github.com/gotgbot/keyboard"

...

query := "query"

ctx.Message.Reply(
    b,
    "text",
    &gotgbot.SendMessageOpts{
        ReplyMarkup: new(
            keyboard.InlineKeyboard,
        ).Text(
            "text",
            "callback data",
        ).Url(
            "text",
            "https://github.com/gotgbot/keyboard",
        ).Row(
        ).SwitchInline(
            "text",
            &query,
        ).Build()
    }
)

Reply

import "github.com/gotgbot/keyboard"

...

ctx.Message.Reply(
    b,
    "text",
    &gotgbot.SendMessageOpts{
        ReplyMarkup: new(
            keyboard.Keyboard,
        ).Text(
            "text",
        ).RequestContact(
            "text",
        ).Row(
        ).RequestPoll(
            "text",
            "type",
        ).Build()
    }
)

Credits

Related Skills

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated9mo ago
Forks0

Languages

Go

Security Score

82/100

Audited on Jun 21, 2025

No findings