1
bot/models/contact.go
Andrew Zhukovskiy eba8c31e95
Changed some field data types to int64 (#11)
To fix crashes on 32-bit systems.
Also, it explicitly says so at https://core.telegram.org/bots/api
2023-01-13 17:18:22 +03:00

11 lines
317 B
Go

package models
// Contact https://core.telegram.org/bots/api#contact
type Contact struct {
PhoneNumber string `json:"phone_number"`
FirstName string `json:"first_name"`
LastName string `json:"last_name,omitempty"`
UserID int64 `json:"user_id,omitempty"`
VCard string `json:"vcard,omitempty"`
}