Add some missing comments.
Syfaro syfaro@foxpaw.in
Tue, 12 Apr 2016 08:59:47 -0500
2 files changed,
10 insertions(+),
0 deletions(-)
M
configs.go
→
configs.go
@@ -560,6 +560,8 @@ Text string `json:"text"`
ShowAlert bool `json:"show_alert"` } +// ChatMemberConfig contains information about a user in a chat for use +// with administrative functions such as kicking or unbanning a user. type ChatMemberConfig struct { ChatID int64 SuperGroupUsername string
M
types.go
→
types.go
@@ -425,17 +425,23 @@ From User `json:"from"`
Query string `json:"query"` } +// InputTextMessageContent contains text for displaying +// as an inline query result. type InputTextMessageContent struct { Text string `json:"message_text"` ParseMode string `json:"parse_mode"` DisableWebPagePreview bool `json:"disable_web_page_preview"` } +// InputLocationMessageContent contains a location for displaying +// as an inline query result. type InputLocationMessageContent struct { Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"` } +// InputVenueMessageContent contains a venue for displaying +// as an inline query result. type InputVenueMessageContent struct { Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"`@@ -444,6 +450,8 @@ Address string `json:"address"`
FoursquareID string `json:"foursquare_id"` } +// InputContactMessageContent contains a contact for displaying +// as an inline query result. type InputContactMessageContent struct { PhoneNumber string `json:"phone_number"` FirstName string `json:"first_name"`