Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Update ¶
type Update struct { ID int `json:"id" db:"id"` UserID int `json:"user_id" db:"user_id"` Text string `json:"text" db:"text"` Time time.Time `json:"time" db:"time"` }
func TestUpdate ¶
TestUpdate returns example of valid Update entity.
type User ¶
type User struct { ID int `json:"id" db:"id"` FirstName string `json:"first_name" db:"first_name"` LastName *string `json:"last_name" db:"last_name"` UserName *string `json:"username" db:"username"` LanguageCode *string `json:"language_code" db:"language_code"` }
User represents bot user entity.
Click to show internal directories.
Click to hide internal directories.