No reason to use pointers to arrays.
This commit is contained in:
parent
4d758f17d4
commit
cdcb93df5f
4 changed files with 27 additions and 27 deletions
16
configs.go
16
configs.go
|
@ -1070,13 +1070,13 @@ func (GetChatMemberConfig) method() string {
|
|||
// InvoiceConfig contains information for sendInvoice request.
|
||||
type InvoiceConfig struct {
|
||||
BaseChat
|
||||
Title string // required
|
||||
Description string // required
|
||||
Payload string // required
|
||||
ProviderToken string // required
|
||||
StartParameter string // required
|
||||
Currency string // required
|
||||
Prices *[]LabeledPrice // required
|
||||
Title string // required
|
||||
Description string // required
|
||||
Payload string // required
|
||||
ProviderToken string // required
|
||||
StartParameter string // required
|
||||
Currency string // required
|
||||
Prices []LabeledPrice // required
|
||||
ProviderData string
|
||||
PhotoURL string
|
||||
PhotoSize int
|
||||
|
@ -1132,7 +1132,7 @@ func (config InvoiceConfig) method() string {
|
|||
type ShippingConfig struct {
|
||||
ShippingQueryID string // required
|
||||
OK bool // required
|
||||
ShippingOptions *[]ShippingOption
|
||||
ShippingOptions []ShippingOption
|
||||
ErrorMessage string
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue