зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-08-28 15:26:18 +03:00
v0.15.2
Этот коммит содержится в:
@@ -1,5 +1,7 @@
|
||||
# Unreleased
|
||||
|
||||
# 0.15.2
|
||||
|
||||
- Ruby 3.0 support. Drop support for Ruby < 2.4.
|
||||
|
||||
# 0.15.1
|
||||
|
||||
@@ -131,9 +131,9 @@ bot.send_message(chat_id: chat_id, text: 'Test')
|
||||
```
|
||||
|
||||
There is no magic, they just pass params as is and set `path_suffix`.
|
||||
See [`Client`](https://github.com/telegram-bot-rb/telegram-bot/blob/master/lib/telegram/bot/client.rb)
|
||||
class for list of available methods. Please open PR or issue if it misses methods from
|
||||
new API versions.
|
||||
See [list of available methods](https://github.com/telegram-bot-rb/telegram-bot/blob/master/lib/telegram/bot/client/api_methods.txt)
|
||||
fetched from [API docs](https://core.telegram.org/bots/api).
|
||||
Please open PR or issue if it misses methods from new API versions.
|
||||
|
||||
Any API request error will raise `Telegram::Bot::Error` with description in its message.
|
||||
Special `Telegram::Bot::Forbidden` is raised when bot can't post messages to the chat anymore.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module Telegram
|
||||
module Bot
|
||||
VERSION = '0.15.1'.freeze
|
||||
VERSION = '0.15.2'.freeze
|
||||
|
||||
def self.gem_version
|
||||
Gem::Version.new VERSION
|
||||
|
||||
Ссылка в новой задаче
Block a user