symphonyoss / symphony-java-client

Java client library for Symphony
Apache License 2.0
34 stars 37 forks source link

Sample code to send attachment image #11

Closed kinkoi closed 8 years ago

kinkoi commented 8 years ago

CC @maoo Hi @ftbb , is there any sample code for sending image attachment using the Symphony client? I'm building a bot that need this. Thanks,

https://github.com/kinkoi/eliza

Kinkoi

ftbb commented 8 years ago

Hi @kinkoi,

Currently, the implementation of the file attachments API is not part of the java client.

This will be a new feature I will attempt to add this week.

Note: we will be releasing the symphony-java-client this week under 0.9.0, so apologies for any inconvenience this has/will cause.

maoo commented 8 years ago

Thanks @ftbb ; adding few notes.

The 0.9.0 release of symphony-java-client will not affect the version 0.9.0-SNAPSHOT that is currently used by @kinkoi , since neither Maven Central nor Sonatype Snapshot (staging) repositories delete the deployed artifacts.

As soon as it's released, you can easily get notified about new releases using https://www.artifact-listener.org

ftbb commented 8 years ago

Please see commit 161596105b93035ea7902ae7cf90f072e249d87e Example: https://github.com/symphonyoss/symphony-java-client/tree/master/symphony-client-examples/src/main/java/org/symphonyoss/examples/attachement

This is under 0.9.1 and requires 1.39+ Agent.