Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetUser ¶
type GetUser struct { ID uuid.UUID `json:"user_id,omitempty"` ChatID user.TelegramID `json:"chat_id,omitempty"` }
GetUser represents a command to get a user. It can be used to get a user by ID or by chatID.
type GetUserHandler ¶
type GetUserHandler struct {
// contains filtered or unexported fields
}
func NewGetUserHandler ¶
func NewGetUserHandler(readModel GetUserReadModel) GetUserHandler
type GetUserReadModel ¶
type ReminderTime ¶
type Settings ¶
type Settings struct { Language string `json:"language"` ReminderTime ReminderTime `json:"reminder_time"` }
Click to show internal directories.
Click to hide internal directories.