这是indexloc提供的服务,不要输入任何密码
Skip to content

Releases: koot-labs/telegram-bot-dialogs

1.2.2

14 Jul 16:22
1859376

Choose a tag to compare

What's Changed

Full Changelog: 1.2.1...1.2.2

1.2.1

02 Jun 08:57
ae1c4bb

Choose a tag to compare

What's Changed

Full Changelog: 1.2.0...1.2.1

1.2.0

05 Apr 20:26
d6cd55d

Choose a tag to compare

What's Changed

Full Changelog: 1.1.0...1.2.0

1.1.0

20 Jan 20:08
8c3c655

Choose a tag to compare

What's changed:

  • Allow specifying null as TTL to store dialogs as long as possible (follow PSR-16 rules)

⚠️ Note, this release has a BC break if you used -1 for TTL to store dialog state forever (but in reality your PSR-16 implementation should treat such cache as expired, so it's a BC break only for PSR-16 implementations that don't follow all the PSR-16 rules)

Full Changelog: 1.0.0...1.1.0

1.0.0

03 Dec 14:26
fa43001

Choose a tag to compare

What's Changed

This release contains BC breaks, please check the UPGRADE guide

Full Changelog: 0.15.0...1.0.0

1.0.0-beta.4 🧸🧸🧸🧸

01 Dec 10:01
fa43001

Choose a tag to compare

Pre-release

What's Changed

  • Bugfix in proceedConfiguredStep function in dialog.php: json_encode of reply_markup added by @dimaodnokoz in #37
  • BC break: Reorganize array shape for configured steps by @alies-dev in #38

The new array shape for configured steps better reflects the real Telegram Bit API:

[
    'name' => 'menu',
    'sendMessage' => [
        'text' => 'Please choose an option:',
        'reply_markup' => [
            'keyboard' => [
                ['Help', 'About'],
                ['Exit'],
            ],
            'resize_keyboard' => true,
        ],
    ],
],

but you still can use the simple version if you just need to send some text:

// Before
[
    'name' => 'step-name',
    'response' => 'Hi!',
    'options' => ['parse_mode' => 'HTML'],
],

// After
[
    'name' => 'step-name',
    'sendMessage' => [
        'text' => 'Hi!',
        'parse_mode' => 'HTML',
    ],
]

Full Changelog: 1.0.0-beta.3...1.0.0-beta.4

1.0.0-beta.3 🧸🧸🧸

24 Nov 22:22
0efd47f

Choose a tag to compare

Pre-release

What's changed

Full Changelog: 1.0.0-beta.2...1.0.0-beta.3

1.0.0-beta.2 🧸🧸

24 Nov 21:55
60d2433

Choose a tag to compare

1.0.0-beta.2 🧸🧸 Pre-release
Pre-release

What's Changed

Full Changelog: 1.0.0-beta.1...1.0.0-beta.2

1.0.0-beta.1 🧸

20 Nov 19:37
44dd443

Choose a tag to compare

1.0.0-beta.1 🧸 Pre-release
Pre-release

What's changed

See UPGRADE.md guide

Full Changelog: 0.15.0...1.0.0-beta.1

0.15.0

20 Nov 18:47
8720aed

Choose a tag to compare

What's Changed

Full Changelog: 0.14.0...0.15.0