improve function names
This commit is contained in:
parent
4c5a33db69
commit
a4b65f1ab5
@ -10,9 +10,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type BackupMessagesHandler interface {
|
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
|
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
|
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)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user