Merge pull request #227 from bcmk/passing-error-code
Passing error code
This commit is contained in:
commit
87e7035a90
2 changed files with 2 additions and 1 deletions
1
types.go
1
types.go
|
@ -949,6 +949,7 @@ type PreCheckoutQuery struct {
|
|||
|
||||
// Error is an error containing extra information returned by the Telegram API.
|
||||
type Error struct {
|
||||
Code int
|
||||
Message string
|
||||
ResponseParameters
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue