Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier struct { // Subscribers stores the Chat objects for broadcasting public notification Subscribers map[int64]time.Time `json:"subscribers"` // Chats are the private chats that we will send private notification Chats map[int64]*telebot.Chat `json:"chats"` // contains filtered or unexported fields }
func (*Notifier) AddSubscriber ¶ added in v1.26.0
func (n *Notifier) AddSubscriber(m *telebot.Message)
Click to show internal directories.
Click to hide internal directories.