Kotlin Telegram Bot API Library (tgbotapi)
160 subscribers
17 photos
1 video
1 file
276 links
https://github.com/InsanusMokrassar/ktgbotapi

Channel with updates from Kotlin Multiplatform TelegramBotAPI library

DM: @InsanusMokrassar
Forum: @ktgbotapi_forum
Projects Releases: @inmodev
Support me: https://t.me/inmodev/431
Download Telegram
Version 0.28.2 bring us several commands extensions improvements: changelog
---
Версия 0.28.2 принесла несколько улучшений в расширениях для команд: changelog
New version 0.28.3 has been released and got several new extensions and fixes and was published first github release with full changelog for this version
---
Новая версия 0.28.3 была выпущена и получила несколько новых расширений и исправлений, и была опубликована с первым githab релизом с changelog
Telegram team have released comments. So, let's wait for TelegrmBotAPI updates😊
There are several updates in our project last days:

• Minor version 0.28.4 has been released (thanks to madhead for contribution)
• New files and environment were prepared for contributors
Issues was marked as #Hacktoberfest issues

You are always welcome in our survey and issues with your offers for improvements and fixes
---

Есть несколько обновлений в проекте за последние дни:

• Вышло минорное обновление 0.28.4 (спасибо madhead за вклад)
• Обновлено окружение для тех, кто хочет сделать свой вклад в проект
Задачи были помечены лэйблом #Hacktoberfest

Я всегда рад вашему мнению, предложениям и замечаниям в нашем опросе и задачах
It is possible, that in future base package for library will be changed com.github.insanusmokrassar -> dev.inmo. How is it difficult will be for your projects to migrate after this change?
---

Есть вероятность, что в будущем базовый пакет библиотеки будет изменён com.github.insanusmokrassar -> dev.inmo. Насколько сложно будет мигрироваться вам в ваших проектах после такого изменения?
Kotlin Telegram Bot API Library (tgbotapi)
How difficult (average for all your projects)?
---
Насколько сложно (в среднем для всех ваших проектов)?
It was solved to change the whole project package. This solution was based on two moments:

• Poll results (nobody voted Difficult variant)
• It was found that sendVoice extension has used incorrect variant of File (was AudioFile) and SendVoice factory had thumb as a parameter for the request (it is wrong according to the documentation)

The second reason pushed me to start new major version 0.29.0 instead of editing 0.28.5. I hope, it will be not difficult for everybody to migrate project
---
Было решено изменить базовый пакет всего проекта. Такое решение было принято по двум причинам:

• Результаты опроса (никто не проголосовал Сложно)
• Было обнаружено, что sendVoice расширение использовало некорректный вариант File (был AudioFile), а SendVoice фабрика имела параметр thumb (что не правильно в соответствии с документацией)

Вторая причина заставила переориентировать новую версию из минорного обновления 0.28.5 в мажорное 0.29.0. Я искренне надеюсь, что будущая миграция не будет большой проблемой для ваших проектов
New version 0.29.0 has been released. In this version:

• Migration into new package in all meanings: as dependency and in imports
reply extensions for all send extensions were added
• Fixes in voices-related API

Please, notify me in case I miss something in migration process, it is very important
---
Новая версия 0.29.0 увидела свет. Краткий список изменений:

• Миграция пакетов: и как зависимость, и как импорты
reply расширения для всех расширений отправки
• Исправления в API, связанном с voices-методами

Пожалуйста, пишите мне если я что-то упустил во время миграции пакетов, это очень важно
• Исправления в связанных с voice методами API
Slot Machines are coming, but it is still in beta. In version 0.29.2 I tried to add slotmachine emoji, but got an error - currently after sending of dice with this image system responding with message without dice. I hope, that they will fix it soon and we will be able to read new versions API
---
На пороге казино, но не зря в бете:) в версии 0.29.2 я попробовал добавить slotmachine emoji для казино, но получил ошибку - они сейчас в ответ на такой dice присылают ответ с сообщением без dice. Надеюсь, скоро поправят и мы всё-таки увидим обновлённую версию Telegram Bot API, а то изменения в API есть, а анонса нет
Forwarded from Код Дурова
This media is not supported in your browser
VIEW IN TELEGRAM
🎰 Теперь казино ближе, чем вам кажется, и даже не нужно ехать в «Красную Поляну» или Лас-Вегас.

В бета-версии Telegram для macOS появился игровой автомат, который активируется при отправке соответствующего эмодзи.

Что тут сказать? Всем удачи и, главное, вовремя остановиться!
Version 0.29.2 has been release. Here there is no slot machines, but coroutines version was updated
---
Выпущена версия 0.29.2. В этой версии нет казино, зато есть обновление версии корутин
Today I tried to get some new API (for example, audio playlists should work like mediagroups I think), but looks like bots API still not upgraded on production servers of Telegram. I hope, they will release new Telegram Bot API as soon as possible
---
Сегодня я в очередной раз попробовал обновить библиотеку для использования нового API (например, аудио плейлисты, мне кажется, должны работать как обычные медиагруппы), но пока что всё указывает на то, что новый API для ботов еще не выкачен на основные сервера Телеграма. Надеюсь, это сделают как можно быстрее
Two new version has been released today: 0.29.3 and 0.29.4. The first one contains main changes:

• New dice type: 🎰
• Opportunity to send audios as playlists
• Opportunity to send documents as document group

The second one is smaller and contains different utilities for work with SlotMachine dices

Please, remember that currently there is no any official news on api page
---

Сегодня увидели свет две новые версии: 0.29.3 и 0.29.4. Главные изменения содержатся в версии 0.29.3:

• Новый тип дайсов: 🎰
• Возможность отправлять плейлисты
• Возможность отправлять группы документов

Во втором обновлении в библиотеку были включены инструменты для работы с казино-дайсами

Кроме того, напоминаю, что на данный момент нет никаких официальных анонсов об обновлении Telegram Bot API
Let's start :)
---
Ну что ж, за дело
Forwarded from BotNews
Introducing Bot API 5.0

• Run your own Bot API server.
Transfer Bot ownership to another account.
• New options for Webhooks.
• New method copyMessage to send a copy of any message.
• Support for Live Locations, including the latest changes.
• Support for Multiple Pinned Messages
• Support for File Albums
• Support for Anonymous Admins.
• Support for ⚽️ and 🎰 animated emoji.
• And much more, read the full changelog here:

https://core.telegram.org/bots/api-changelog#November-4-2020
You are always welcome with contributions in this project, especially now 😊
---
Я всегда рад вашему вкладу в проект, а сегодня - особенно, потому что работы много:)
This update will be very painful :( But anyway, there are a lot of new and useful things. See changelog for more info
- - -
Это обновление будет очень болезненным :( Тем не менее, есть очень много новых и крутых изменений. Добро пожаловать в сhangelog за информацией
A little update:). Left not very much things to do and currently I am starting to test current changes. I hope, new version will be bugless and better :)
---
Маленькое обновление:) Осталось не так много работы и сейчас я уже начинаю тестировать внесённые изменения
Update almost completed and currently I launched several bots on new API to test that everything is ok on continuous work. Besides, examples already tested too:) So, I hope, this update will be release so soon
---
Обновление почти готово, и на данный момент я уже запустил несколько ботов для тестирования длительной работы с новым API. Кроме того, я уже проверил, что все официальные примеры тоже корректно отрабатывают:) Таким образом, я надеюсь, что это обновление не заставит себя ждать