minor typo in helpers.go
This commit is contained in:
parent
2022d04b94
commit
3b0c031730
1 changed files with 1 additions and 1 deletions
|
@ -641,7 +641,7 @@ func NewCallbackWithAlert(id, text string) CallbackConfig {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewInvoice created a new Invoice request to the user.
|
// NewInvoice creates a new Invoice request to the user.
|
||||||
func NewInvoice(chatID int64, title, description, payload, providerToken, startParameter, currency string, prices *[]LabeledPrice) InvoiceConfig {
|
func NewInvoice(chatID int64, title, description, payload, providerToken, startParameter, currency string, prices *[]LabeledPrice) InvoiceConfig {
|
||||||
return InvoiceConfig{
|
return InvoiceConfig{
|
||||||
BaseChat: BaseChat{ChatID: chatID},
|
BaseChat: BaseChat{ChatID: chatID},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue