Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EnvMessage ¶ added in v0.13.0
type EnvMessage struct { Mentioned bool `comment:"Whether we were mentioned in this message"` Silent bool `comment:"Whether this is a silent message (no notification triggered)"` FromScheduled bool `comment:"Whether this is a scheduled message"` Pinned bool `comment:"Whether this message is pinned"` ID int `comment:"ID of the message"` FromID int64 `comment:"ID of the sender of the message"` Date int `comment:"Date of the message"` Message string `comment:"The message"` Media EnvMessageMedia `comment:"Media attachment"` Views int `comment:"View count"` Forwards int `comment:"Forward count"` }
func ConvertEnvMessage ¶ added in v0.13.0
func ConvertEnvMessage(msg *tg.Message) EnvMessage
type EnvMessageMedia ¶ added in v0.13.0
type FieldsGetter ¶
type FieldsGetter struct {
// contains filtered or unexported fields
}
func NewFieldsGetter ¶
func NewFieldsGetter(opts *Options) *FieldsGetter
Click to show internal directories.
Click to hide internal directories.