SFUBotPlugin
class SFUBotPlugin
SFU Bot プラグイン
Contextに登録することでSFU Botを利用することができます。
let sfu: SFUBotPlugin = .init(options: nil)
Context.registerPlugin(sfu)
SFU Botに関しては公式ホームページの開発ドキュメントをご確認ください。
-
イニシャライザ
Declaration
Swift
init(options: SFUBotPluginOptions?)
-
SFUBotを作成し、Channelに入室させます。
Declaration
Swift
func createBot(onChannel channel: Any!) async throws -> SKWSFUBotMember