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

`createChatInviteLink` shouldn't return `Bool` #32

Closed MihaelIsaev closed 1 month ago

MihaelIsaev commented 1 month ago

Hey @nerzh

First of all thanks for your great library!

I realized that createChatInviteLink should return TGChatInviteLink instead of Bool

https://github.com/nerzh/swift-telegram-sdk/blob/8fd55946e455e28f2b8f3d1ab2920aa080219c89/Sources/SwiftTelegramSdk/Bot/Telegram/Methods/CreateChatInviteLink.swift#L61

nerzh commented 1 month ago

thank you very much, fixed 3.4.1