MCPcopy Create free account
hub / github.com/NoFxAiOS/nofx / SetTelegramReloadCh

Method SetTelegramReloadCh

api/server.go:726–728  ·  view source on GitHub ↗

SetTelegramReloadCh sets the channel used to signal the Telegram bot to reload

(ch chan<- struct{})

Source from the content-addressed store, hash-verified

724
725// SetTelegramReloadCh sets the channel used to signal the Telegram bot to reload
726func (s *Server) SetTelegramReloadCh(ch chan<- struct{}) {
727 s.telegramReloadCh = ch
728}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected