func (ch *Channels) PDelChan(pattern string) error {
	return ch.client.jExecute(nil, "PDELCHAN", pattern)
}
PDelChan removes all Channels that match the specified pattern.
package t38c
import "context"
type Channels struct {
	client tile38Client
}
func (ch *Channels) Chans(pattern string) ([]Chan, error) {
	var resp struct {
		Chans []Chan `json:"chans"`
	}
	err := ch.client.jExecute(&resp, "CHANS", pattern)
	if err != nil {
		return nil, err
	}
	return resp.Chans, nil
}
func (ch *Channels) DelChan(name string) error {
	return ch.client.jExecute(nil, "DELCHAN", name)
}