telegram-auth-bot/Sources/TelegramModeratorBot/TGBotActor.swift

14 lines
200 B
Swift
Raw Permalink Normal View History

@preconcurrency import SwiftTelegramSdk
2024-10-19 17:39:04 +03:00
actor TGBotActor {
private var _bot: TGBot!
var bot: TGBot {
self._bot
}
func setBot(_ bot: TGBot) {
self._bot = bot
}
}