Merge pull request #199 from treeder/master

Adds Passport update types
This commit is contained in:
Syfaro 2018-10-08 01:20:17 -05:00 committed by GitHub
commit 9105c34c59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 301 additions and 0 deletions

View file

@ -168,6 +168,7 @@ type Message struct {
PinnedMessage *Message `json:"pinned_message"` // optional
Invoice *Invoice `json:"invoice"` // optional
SuccessfulPayment *SuccessfulPayment `json:"successful_payment"` // optional
PassportData *PassportData `json:"passport_data,omitempty"` // optional
}
// Time converts the message timestamp into a Time.