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
208 stars 32 forks source link

Fix warning in Telegram-bot-example/main.swift #28

Closed valeriyvan closed 5 months ago

valeriyvan commented 5 months ago

Fix warning Initializer 'init' is unavailable from asynchronous contexts; This initialiser cannot be used in async contexts, Application.makeApplication() instead; this is an error in Swift 6.