Build reply markup keyboards easier than ever.
go get github.com/gotgbot/keyboard
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() } )
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() } )