mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 14:56:42 +00:00
refactor: builder pattern for generateSendingInfo
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user