PyKeyboard API Reference
Complete API reference for all PyKeyboard classes, methods, and types.
Classes
| Class | Module | Description |
|---|---|---|
InlineKeyboard | pykeyboard | Inline keyboard with pagination & languages |
ReplyKeyboard | pykeyboard | Reply keyboard with all Pyrogram options |
InlineButton | pykeyboard | Single inline button (callback, URL, etc.) |
ReplyButton | pykeyboard | Single reply button (contact, location, etc.) |
KeyboardBuilder | pykeyboard | Fluent keyboard builder with hooks |
KeyboardFactory | pykeyboard | Preset keyboard factories |
PyReplyKeyboardRemove | pykeyboard | Remove reply keyboard markup |
PyForceReply | pykeyboard | Force reply markup |
Errors
| Error | Description |
|---|---|
LocaleError | Unknown locale code in language selection |
PaginationError | Invalid pagination parameters |
PaginationUnchangedError | Page unchanged (duplicate click) |