Documentation ¶
Index ¶
- func ChatFromID(_ context.Context, id int64) *control.Chat
- func ChatHistory(ctx context.Context, t require.TestingT, tm control.TGMockControlClient, ...) string
- func ContextChat(ctx context.Context) *control.Chat
- func ContextUser(ctx context.Context) *control.User
- func GenerateID() (int64, error)
- func SendMessage(ctx context.Context, t require.TestingT, tm control.TGMockControlClient, ...) int64
- func UserFromID(ctx context.Context, id int64) *control.User
- func WaitForMessages(ctx context.Context, t require.TestingT, tm control.TGMockControlClient, ...) []*control.Message
- func WaitForMessagesSince(ctx context.Context, t require.TestingT, tm control.TGMockControlClient, ...) []*control.Message
- func WithChatID(ctx context.Context, id int64) context.Context
- func WithUserID(ctx context.Context, id int64) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChatHistory ¶
func GenerateID ¶
func SendMessage ¶
func WaitForMessages ¶
func WaitForMessagesSince ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.