Merge pull request #70 from lbryio/feature/stream_create_account_id

Add account ID to StreamCreateOptions
This commit is contained in:
sayplastic 2019-09-03 01:08:10 +07:00 committed by GitHub
commit e5850035dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -323,6 +323,7 @@ type StreamCreateOptions struct {
ChannelName *string `json:"channel_name,omitempty"` ChannelName *string `json:"channel_name,omitempty"`
ChannelID *string `json:"channel_id,omitempty"` ChannelID *string `json:"channel_id,omitempty"`
ChannelAccountID *string `json:"channel_account_id,omitempty"` ChannelAccountID *string `json:"channel_account_id,omitempty"`
AccountID *string `json:"account_id,omitempty"`
} }
func (d *Client) StreamCreate(name, filePath string, bid float64, options StreamCreateOptions) (*TransactionSummary, error) { func (d *Client) StreamCreate(name, filePath string, bid float64, options StreamCreateOptions) (*TransactionSummary, error) {