77 "encoding/json"
88 "errors"
99 "fmt"
10- botsgocore "github.com/bots-go-framework/bots-go-core"
10+ "github.com/bots-go-framework/bots-go-core/botkb "
1111 "net/url"
1212 "strconv"
1313 "strings"
@@ -304,11 +304,11 @@ type ReplyKeyboardMarkup struct {
304304}
305305
306306// KeyboardType returns KeyboardTypeBottom
307- func (* ReplyKeyboardMarkup ) KeyboardType () botsgocore .KeyboardType {
308- return botsgocore .KeyboardTypeBottom
307+ func (* ReplyKeyboardMarkup ) KeyboardType () botkb .KeyboardType {
308+ return botkb .KeyboardTypeBottom
309309}
310310
311- var _ botsgocore .Keyboard = (* ReplyKeyboardMarkup )(nil )
311+ var _ botkb .Keyboard = (* ReplyKeyboardMarkup )(nil )
312312
313313// KeyboardButtonRequestUsers represents a request from the bot to send users
314314// https://core.telegram.org/bots/api#keyboardbuttonrequestusers
@@ -442,11 +442,11 @@ type ReplyKeyboardHide struct {
442442}
443443
444444// KeyboardType returns KeyboardTypeHide
445- func (* ReplyKeyboardHide ) KeyboardType () botsgocore .KeyboardType {
446- return botsgocore .KeyboardTypeHide
445+ func (* ReplyKeyboardHide ) KeyboardType () botkb .KeyboardType {
446+ return botkb .KeyboardTypeHide
447447}
448448
449- var _ botsgocore .Keyboard = (* ReplyKeyboardHide )(nil )
449+ var _ botkb .Keyboard = (* ReplyKeyboardHide )(nil )
450450
451451// InlineKeyboardMarkup is a custom keyboard presented for an inline bot.
452452type InlineKeyboardMarkup struct {
@@ -465,11 +465,11 @@ func (v *InlineKeyboardMarkup) Validate() error {
465465}
466466
467467// KeyboardType returns KeyboardTypeInline
468- func (* InlineKeyboardMarkup ) KeyboardType () botsgocore .KeyboardType {
469- return botsgocore .KeyboardTypeInline
468+ func (* InlineKeyboardMarkup ) KeyboardType () botkb .KeyboardType {
469+ return botkb .KeyboardTypeInline
470470}
471471
472- var _ botsgocore .Keyboard = (* InlineKeyboardMarkup )(nil )
472+ var _ botkb .Keyboard = (* InlineKeyboardMarkup )(nil )
473473
474474// LoginUrl represents a parameter of the inline keyboard button used to automatically authorize a user.
475475// https://core.telegram.org/bots/api#loginurl
@@ -676,11 +676,11 @@ type ForceReply struct {
676676}
677677
678678// KeyboardType returns KeyboardTypeForceReply
679- func (ForceReply ) KeyboardType () botsgocore .KeyboardType {
680- return botsgocore .KeyboardTypeForceReply
679+ func (ForceReply ) KeyboardType () botkb .KeyboardType {
680+ return botkb .KeyboardTypeForceReply
681681}
682682
683- var _ botsgocore .Keyboard = (* ForceReply )(nil )
683+ var _ botkb .Keyboard = (* ForceReply )(nil )
684684
685685// ChosenInlineResult is an inline query result chosen by a User
686686type ChosenInlineResult struct {
0 commit comments