refactor: builder pattern for generateSendingInfo

This commit is contained in:
James Houlahan
2020-06-29 15:33:42 +02:00
parent 29978b7014
commit 61a841ced7
7 changed files with 1051 additions and 980 deletions

View File

@ -97,6 +97,11 @@ type MailSettings struct {
// AutoResponder string
}
const (
ComposerModeNormal = 0
ComposerModePlain = 1
)
// GetMailSettings gets contact details specified by contact ID.
func (c *client) GetMailSettings() (settings MailSettings, err error) {
req, err := c.NewRequest("GET", "/settings/mail", nil)