Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sender class is package private #5

Closed
ruizrube opened this issue Nov 10, 2023 · 5 comments · Fixed by #7
Closed

Sender class is package private #5

ruizrube opened this issue Nov 10, 2023 · 5 comments · Fixed by #7
Assignees
Labels
bug Something isn't working

Comments

@ruizrube
Copy link

Hi.
Thanks for this component.

I am unable to create an instance of the Sender class in order to send a message.

Regards

@javier-godoy javier-godoy added the question Further information is requested label Nov 11, 2023
@javier-godoy
Copy link
Member

Hello. The Sender class is public.

Can you please attach a code snippet?

@ruizrube
Copy link
Author

Attach image with the decompiled code
Screenshot 2023-11-11 at 13 49 37

@ruizrube
Copy link
Author

Maybe the file included in the jar is outdated

@javier-godoy
Copy link
Member

Sender and Message classes have builders, so you can do:

Sender.builder().name("Assistant").id("1").avatar("chatbot.png").build();

I'll keep this issue open because the examples use the constructor instead of the builder.

@javier-godoy javier-godoy added bug Something isn't working and removed question Further information is requested labels Nov 12, 2023
@ruizrube
Copy link
Author

Thank you

mlopezFC added a commit that referenced this issue Nov 13, 2023
@mlopezFC mlopezFC linked a pull request Nov 13, 2023 that will close this issue
mlopezFC added a commit that referenced this issue Nov 13, 2023
javier-godoy pushed a commit that referenced this issue Nov 14, 2023
@paodb paodb moved this to Done in Flowing Code Addons May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

3 participants