message handler
This commit is contained in:
parent
fa1a432a87
commit
d1f0d683af
@ -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)
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user