@@ -613,22 +613,31 @@ type Contact struct {
613613
614614// Location contains information about a place.
615615type Location struct {
616+ // Longitude as defined by sender
616617 Longitude float64 `json:"longitude"`
617- Latitude float64 `json:"latitude"`
618+ // Latitude as defined by sender
619+ Latitude float64 `json:"latitude"`
618620}
619621
620622// Venue contains information about a venue, including its Location.
621623type Venue struct {
622- Location Location `json:"location"`
623- Title string `json:"title"`
624- Address string `json:"address"`
625- FoursquareID string `json:"foursquare_id"` // optional
624+ // Location venue location
625+ Location Location `json:"location"`
626+ // Title name of the venue
627+ Title string `json:"title"`
628+ // Address of the venue
629+ Address string `json:"address"`
630+ // FoursquareID foursquare identifier of the venue
631+ // optional
632+ FoursquareID string `json:"foursquare_id"`
626633}
627634
628635// UserProfilePhotos contains a set of user profile photos.
629636type UserProfilePhotos struct {
630- TotalCount int `json:"total_count"`
631- Photos [][]PhotoSize `json:"photos"`
637+ // TotalCount total number of profile pictures the target user has
638+ TotalCount int `json:"total_count"`
639+ // Photos requested profile pictures (in up to 4 sizes each)
640+ Photos [][]PhotoSize `json:"photos"`
632641}
633642
634643// File contains information about a file to download from Telegram.
0 commit comments