Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Requester ¶
type Requester interface {
io.Closer
GetMe(ctx context.Context) (botName string, err error)
GetChat(ctx context.Context, chatID ChatID) (*Chat, error)
SendMessageToChat(ctx context.Context, chatID ChatID, messageText string, args ...interface{}) error
SendMessageToTopic(
ctx context.Context, chatID ChatID, topicID TopicThreadID, messageText string, args ...interface{},
) error
CheckTopic(ctx context.Context, topic *Topic) (bool, error)
CreateTopic(ctx context.Context, topic *Topic) (topicID *TopicThreadID, err error)
}
func NewBotsGroup ¶ added in v1.0.4
type TopicThreadID ¶
type TopicThreadID = types.TopicThreadID
Click to show internal directories.
Click to hide internal directories.