rapierorg / telegram-bot-swift

Telegram Bot SDK for Swift (unofficial)
https://github.com/rapierorg/telegram-bot-swift/wiki
Apache License 2.0
375 stars 63 forks source link

Renaming the framework to prevent naming conflicts #35

Closed iAlirezaKML closed 7 years ago

iAlirezaKML commented 7 years ago

When you import this beside other libraries (Vapor for example) there will be some conflicts in type names, such as Router. In order to resolve that, you should use the module name: TelegramBot.Router but the problem is the framework TelegramBot has a class named TelegramBot so another conflict occurs.

zmeyc commented 7 years ago

@iAlirezaKML Thank you!

iAlirezaKML commented 7 years ago

@zmeyc Your welcome! Just don't forget to update the readme.