Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { // Unique identifier for user in go-tg-bot. ID UserID // ID of Telegram user. TelegramID tg.UserID // First name FirstName string // Last name (optional) LastName null.String // TelegramUsername (optional) TelegramUsername null.String // Latest client language code (optional) LanguageCode null.String // Preferred language code. // If language code is in the list of supported languages, then it will be used. // Otherwise, the default language code will be used. PreferredLanguageCode null.String // Deeplink of the user. // Contains start parameters of the bot. Deeplink null.String // Contains date of StoppedAt null.Time // Time when user was created. CreatedAt time.Time // UpdatedAt is the time when user was last updated (optional). UpdatedAt null.Time }
Click to show internal directories.
Click to hide internal directories.