improve function names

This commit is contained in:
neha-Gupta1 2023-08-22 10:23:13 +05:30
parent 4c5a33db69
commit a4b65f1ab5

View File

@ -10,9 +10,9 @@ import (
)
type BackupMessagesHandler interface {
GetMessage(ctx context.Context, teamID, channelID, itemID string) (models.ChatMessageable, error)
GetMessageByID(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)
GetChannelByID(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)
GetReplyByID(ctx context.Context, teamID, channelID, messageID string) (serialization.Parsable, error)
}