You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
419 B
15 lines
419 B
package markup |
|
|
|
import "github.com/gotd/td/tg" |
|
|
|
// InlineRow creates inline keyboard with single row using given buttons. |
|
func InlineRow(buttons ...tg.KeyboardButtonClass) tg.ReplyMarkupClass { |
|
return InlineKeyboard(Row(buttons...)) |
|
} |
|
|
|
// InlineKeyboard creates inline keyboard using given rows. |
|
func InlineKeyboard(rows ...tg.KeyboardButtonRow) tg.ReplyMarkupClass { |
|
return &tg.ReplyInlineMarkup{ |
|
Rows: rows, |
|
} |
|
}
|
|
|