Documentation ¶
Index ¶
- func CreateDraft(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, info DraftInfo) (models.Messageable, error)
- func DeleteMessage(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, messageID string) error
- func GetMessageDetails(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, messageID string) (models.Messageable, error)
- func ListMailFolders(ctx context.Context, client *msgraphsdkgo.GraphServiceClient) ([]models.MailFolderable, error)
- func ListMessages(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, folderID string) ([]models.Messageable, error)
- func MoveMessage(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, ...) (models.Messageable, error)
- func SearchMessages(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, ...) ([]models.Messageable, error)
- func SendDraft(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, draftID string) error
- type DraftInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDraft ¶
func CreateDraft(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, info DraftInfo) (models.Messageable, error)
func DeleteMessage ¶
func DeleteMessage(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, messageID string) error
func GetMessageDetails ¶
func GetMessageDetails(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, messageID string) (models.Messageable, error)
func ListMailFolders ¶
func ListMailFolders(ctx context.Context, client *msgraphsdkgo.GraphServiceClient) ([]models.MailFolderable, error)
func ListMessages ¶
func ListMessages(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, folderID string) ([]models.Messageable, error)
func MoveMessage ¶
func MoveMessage(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, messageID, destinationFolderID string) (models.Messageable, error)
func SearchMessages ¶
func SearchMessages(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, subject, fromAddress, fromName, folderID, start, end string, limit int) ([]models.Messageable, error)
func SendDraft ¶
func SendDraft(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, draftID string) error
Types ¶
Click to show internal directories.
Click to hide internal directories.