зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-09-04 18:25:51 +03:00
v0.15.2
Этот коммит содержится в:
@@ -1,5 +1,7 @@
|
|||||||
# Unreleased
|
# Unreleased
|
||||||
|
|
||||||
|
# 0.15.2
|
||||||
|
|
||||||
- Ruby 3.0 support. Drop support for Ruby < 2.4.
|
- Ruby 3.0 support. Drop support for Ruby < 2.4.
|
||||||
|
|
||||||
# 0.15.1
|
# 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`.
|
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)
|
See [list of available methods](https://github.com/telegram-bot-rb/telegram-bot/blob/master/lib/telegram/bot/client/api_methods.txt)
|
||||||
class for list of available methods. Please open PR or issue if it misses methods from
|
fetched from [API docs](https://core.telegram.org/bots/api).
|
||||||
new API versions.
|
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.
|
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.
|
Special `Telegram::Bot::Forbidden` is raised when bot can't post messages to the chat anymore.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module Telegram
|
module Telegram
|
||||||
module Bot
|
module Bot
|
||||||
VERSION = '0.15.1'.freeze
|
VERSION = '0.15.2'.freeze
|
||||||
|
|
||||||
def self.gem_version
|
def self.gem_version
|
||||||
Gem::Version.new VERSION
|
Gem::Version.new VERSION
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user