message handler

This commit is contained in:
neha-Gupta1 2023-08-18 13:40:42 +05:30
parent fa1a432a87
commit d1f0d683af

View File

@ -9,16 +9,10 @@ import (
"github.com/microsoft/kiota-abstractions-go/serialization" "github.com/microsoft/kiota-abstractions-go/serialization"
) )
type BackupChannelHandler interface { 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) GetChannel(ctx context.Context, teamID, channelID string) (models.Channelable, error)
NewChannelPager(teamID, channelID string) api.ChannelItemDeltaEnumerator NewChannelPager(teamID, channelID string) api.ChannelItemDeltaEnumerator
} GetReply(ctx context.Context, teamID, channelID, messageID string) (serialization.Parsable, error)
type BackupMessagesHandler interface {
GetItem(ctx context.Context, teamID, channelID, itemID string) (models.ChatMessageable, error)
NewItemPager(teamID, channelID string) api.MessageItemDeltaEnumerator
}
type BackupReplyHandler interface {
GetItem(ctx context.Context, teamID, channelID, messageID string) (serialization.Parsable, error)
} }