Merge branch 'main' of https://github.com/alcionai/corso into channelPagerImplementation
This commit is contained in:
commit
a9372af65c
@ -31,3 +31,10 @@ type BackupHandler interface {
|
|||||||
teamID, channelID, messageID string,
|
teamID, channelID, messageID string,
|
||||||
) (serialization.Parsable, error)
|
) (serialization.Parsable, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type BackupMessagesHandler interface {
|
||||||
|
GetMessage(ctx context.Context, teamID, channelID, itemID string) (models.ChatMessageable, error)
|
||||||
|
NewMessagePager(teamID, channelID string) api.ChannelMessageDeltaEnumerator
|
||||||
|
GetChannel(ctx context.Context, teamID, channelID string) (models.Channelable, error)
|
||||||
|
GetReply(ctx context.Context, teamID, channelID, messageID string) (serialization.Parsable, error)
|
||||||
|
}
|
||||||
|
|||||||
@ -143,8 +143,7 @@ func (p *channelPageCtrl) ValuesIn(l PageLinker) ([]models.Channelable, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (p *channelPageCtrl) GetOdataNextLink() *string {
|
func (p *channelPageCtrl) GetOdataNextLink() *string {
|
||||||
// TODO: no delta present here. Is it possible to have interface which does not have
|
// No next link preent in the API result
|
||||||
// GetOdataNextLink method
|
|
||||||
emptyString := ""
|
emptyString := ""
|
||||||
return &emptyString
|
return &emptyString
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user