19 lines
682 B
Go
19 lines
682 B
Go
package groups
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/microsoftgraph/msgraph-sdk-go/models"
|
|
|
|
"github.com/alcionai/corso/src/pkg/services/m365/api"
|
|
"github.com/microsoft/kiota-abstractions-go/serialization"
|
|
)
|
|
|
|
type BackupMessagesHandler interface {
|
|
GetMessage(ctx context.Context, teamID, channelID, itemID string) (models.ChatMessageable, error)
|
|
NewMessagePager(teamID, channelID string) api.MessageItemDeltaEnumerator
|
|
GetChannel(ctx context.Context, teamID, channelID string) (models.Channelable, error)
|
|
NewChannelPager(teamID, channelID string) api.ChannelItemDeltaEnumerator
|
|
GetReply(ctx context.Context, teamID, channelID, messageID string) (serialization.Parsable, error)
|
|
}
|