Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
dc values can be overridden globally
Functions ¶
func New ¶
New creates new telegram client with given options. Default middlewares(retry, recovery, flood wait) always added.
func NewDefaultMiddlewares ¶
Types ¶
type Options ¶
type Options struct { AppID int AppHash string Session telegram.SessionStorage Middlewares []telegram.Middleware Proxy string NTP string ReconnectTimeout time.Duration UpdateHandler telegram.UpdateHandler }
Click to show internal directories.
Click to hide internal directories.