Documentation ¶
Index ¶
- Variables
- func ResourceURL(resourceType string, id string) string
- type Client
- type CommandListener
- func (l *CommandListener) AuthorizedChatIDs() map[telegram.ID]bool
- func (l *CommandListener) Close() error
- func (l *CommandListener) RunInBackground(ctx context.Context, updateEvery time.Duration) error
- func (l *CommandListener) Update_surfaces(ctx context.Context, tgclient telegram.Client, cmd *telegram.Command) error
- type EmailAuthRequest
- type Surface
- type SurfaceDictionary
- type Time
- type TokenResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var BaseURL = "https://dooh-api.adhigh.net/api/v1"
View Source
var Extension app.Extension = extension{}
Functions ¶
func ResourceURL ¶
Types ¶
type CommandListener ¶
type CommandListener struct { Client *Client TelegramClient telegram.Client File flu.File ChatID telegram.ID ControlButtons *core.ControlButtons // contains filtered or unexported fields }
func (*CommandListener) AuthorizedChatIDs ¶
func (l *CommandListener) AuthorizedChatIDs() map[telegram.ID]bool
func (*CommandListener) Close ¶
func (l *CommandListener) Close() error
func (*CommandListener) RunInBackground ¶
func (*CommandListener) Update_surfaces ¶
func (l *CommandListener) Update_surfaces(ctx context.Context, tgclient telegram.Client, cmd *telegram.Command) error
type EmailAuthRequest ¶
type SurfaceDictionary ¶
type Time ¶
func (*Time) UnmarshalJSON ¶
type TokenResponse ¶
Click to show internal directories.
Click to hide internal directories.