Documentation
¶
Index ¶
- type Dispatcher
- type TelegramDispatcher
- type TwitterDispatcher
- func (t *TwitterDispatcher) DeleteEmpty(msg []string) []string
- func (t *TwitterDispatcher) ReplyMessage(msg string, statusId int64) (int64, error)
- func (t *TwitterDispatcher) SendMessage(msg string) (int64, error)
- func (t *TwitterDispatcher) SplitMessage(msg []string) []string
- func (t *TwitterDispatcher) Start(apiKey string, apiSecretKey string, accessToken string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
func (*Dispatcher) SendAnnouncement ¶
func (dp *Dispatcher) SendAnnouncement(announcementData communityv1alpha1.AnnouncementSpec)
func (*Dispatcher) SendMeetup ¶
func (dp *Dispatcher) SendMeetup(meetupData communityv1alpha1.MeetupSpec)
func (*Dispatcher) SendWeekly ¶
func (dp *Dispatcher) SendWeekly(weeklyData communityv1alpha1.WeeklySpec)
func (*Dispatcher) Start ¶
func (dp *Dispatcher) Start()
type TelegramDispatcher ¶
type TelegramDispatcher struct {
// contains filtered or unexported fields
}
func (*TelegramDispatcher) SendImage ¶
func (t *TelegramDispatcher) SendImage(url string, chatType string) (int, error)
func (*TelegramDispatcher) SendMessage ¶
func (*TelegramDispatcher) Start ¶
func (t *TelegramDispatcher) Start(token string, credential string)
type TwitterDispatcher ¶
type TwitterDispatcher struct {
// contains filtered or unexported fields
}
func (*TwitterDispatcher) DeleteEmpty ¶
func (t *TwitterDispatcher) DeleteEmpty(msg []string) []string
func (*TwitterDispatcher) ReplyMessage ¶
func (t *TwitterDispatcher) ReplyMessage(msg string, statusId int64) (int64, error)
func (*TwitterDispatcher) SendMessage ¶
func (t *TwitterDispatcher) SendMessage(msg string) (int64, error)
func (*TwitterDispatcher) SplitMessage ¶
func (t *TwitterDispatcher) SplitMessage(msg []string) []string
Click to show internal directories.
Click to hide internal directories.