nerzh / swift-telegram-sdk

🤖 The wrapper for the Telegram Bot API written in Swift. It's not a framework. There is no special syntax here. This is a library that implements all Telegram Bot API methods, which is available to you to work with Vapor, Smoke, Hummingbird, FlyingFox.
https://core.telegram.org/bots/api#available-methods
MIT License
203 stars 32 forks source link

Fix deprecation in Telegram-bot-example #27

Closed valeriyvan closed 4 months ago

valeriyvan commented 4 months ago
/***/telegram-vapor-bot/Telegram-bot-example/Sources/Telegram-bot-example/main.swift:12:9: warning: instance method 'run' is unavailable from asynchronous contexts; Use the async execute() method instead.; this is an error in Swift 6
try app.run()