add funding accounts to channel create options

This commit is contained in:
Niko Storni 2022-08-15 22:41:00 +02:00
parent 9130630afe
commit 2adb8af5b6

View file

@ -303,6 +303,7 @@ type ChannelCreateOptions struct {
CoverURL *string `json:"cover_url,omitempty"` CoverURL *string `json:"cover_url,omitempty"`
Featured []string `json:"featured,omitempty"` Featured []string `json:"featured,omitempty"`
AccountID *string `json:"account_id,omitempty"` AccountID *string `json:"account_id,omitempty"`
FundingAccountIDs []string `json:"funding_account_ids,omitempty"`
} }
func (d *Client) ChannelCreate(name string, bid float64, options ChannelCreateOptions) (*TransactionSummary, error) { func (d *Client) ChannelCreate(name string, bid float64, options ChannelCreateOptions) (*TransactionSummary, error) {