PHPackages                             californiamountainsnake/longmantelegrambot-inlinemenu - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. californiamountainsnake/longmantelegrambot-inlinemenu

AbandonedArchivedLibrary

californiamountainsnake/longmantelegrambot-inlinemenu
=====================================================

The inline menu for the longman/telegram-bot library!

1.3.0(5y ago)222322MITPHPPHP ^7.2

Since Mar 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/CaliforniaMountainSnake/longmantelegrambot-inlinemenu)[ Packagist](https://packagist.org/packages/californiamountainsnake/longmantelegrambot-inlinemenu)[ RSS](/packages/californiamountainsnake-longmantelegrambot-inlinemenu/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (20)Used By (2)

longmantelegrambot-inlinemenu
=============================

[](#longmantelegrambot-inlinemenu)

It's the inline menu for the longman/telegram-bot library!

Functionality:
--------------

[](#functionality)

- Inline-menu with sub-menus.
- Call a bot command by inline button.
- Toast message!

Install:
--------

[](#install)

### Require this package with Composer

[](#require-this-package-with-composer)

Install this package through [Composer](https://getcomposer.org/). Edit your project's `composer.json` file to require `californiamountainsnake/longmantelegrambot-inlinemenu`:

```
{
    "name": "yourproject/yourproject",
    "type": "project",
    "require": {
        "php": "^7.3.1",
        "californiamountainsnake/longmantelegrambot-inlinemenu": "*"
    }
}
```

and run `composer update`

### or

[](#or)

run this command in your command line:

```
composer require californiamountainsnake/longmantelegrambot-inlinemenu
```

Usage:
------

[](#usage)

1. Extend your Telegram class from InlineMenuTelegram (or include the InlineMenuTelegramTrait into your existed Telegram class):

```
