Documentation ¶
Overview ¶
Package e2e contains end-to-end updates processing test.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entities ¶ added in v0.51.0
type Entities struct { Users map[int64]*tg.User Chats map[int64]*tg.Chat Channels map[int64]*tg.Channel ChannelsForbidden map[int64]*tg.ChannelForbidden }
Entities contains update entities.
func (*Entities) FromUpdates ¶ added in v0.51.0
func (e *Entities) FromUpdates(u interface { tg.UpdatesClass MapUsers() tg.UserClassArray MapChats() tg.ChatClassArray }) *Entities
FromUpdates method.
type EventBuilder ¶
type EventBuilder struct {
// contains filtered or unexported fields
}
EventBuilder struct.
func (*EventBuilder) SendMessage ¶
SendMessage send a new message.
Click to show internal directories.
Click to hide internal directories.