Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
It's possible, I'll allow it.
Some have already implemented:
https://github.com/zmeyc/telegram-bot-swift
https://github.com/FabrizioBrancati/SwiftyBot
https://www.fabriziobrancati.com/posts/swiftybot-2...
Yes, of course you can! As for wisdom, let's think about it. Obviously, after development, this code will have to work on some Linux based server, and this is where problems may arise. The fact is that under Linix, the main Swift framework - Foundation, has not yet been fully ported. From here, some problems may arise, in particular, an incompletely implemented URLSession Class.
PS Swift is very cool, but it is very young and therefore it is too early to put it on the server, in view of the problems mentioned above.
PPS But for developing Swift skills on macOS - yes, of course, there will be no problems in writing such a bot. Welcome as they say...
You can of course, here is a good Framework https://github.com/givip/Telegrammer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question