Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

Add a way to get the recent/last messages from a conversation (with user or group) #32

Open
delthas opened this issue Mar 23, 2017 · 3 comments
Assignees

Comments

@delthas
Copy link
Owner

delthas commented Mar 23, 2017

MrPowerGamerBR : There isn't any way to get the messages sent to a contact/group? Skype4J allows to get all the messages in a conversation with a contact/group, however JavaSkype doesn't have a method to do it.
delthas : You mean the recent/last messages in a conversation? Like a User#getRecentMessages or a Group#getRecentMessages that returns a list of the last messages sent on a conversation? I can add that.
MrPowerGamerBR : Yes, it would be awesome if you added that. :) (In Skype4J it is like this: .loadMessages(int amount) loads the messages and getAllMessages returns the messages loaded in chronological order (from older to newest))

@MrPowerGamerBR
Copy link

Hey look it's me! 😋

@Erezbiox1
Copy link

How is it going...?
I know you don't really work on the API, but me and many of my friends are still using it,
and we need this method, please?

@delthas delthas self-assigned this Nov 8, 2017
@delthas
Copy link
Owner Author

delthas commented Nov 8, 2017

I'm beginning work on this. I'm planning to add a getMessages(long timestamp) method on User and Group that returns a Stream of messages, by lazy-loading them as the (pseudo-infinite) Stream is read.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants