Skip to content
#

chat-api

Here are 22 public repositories matching this topic...

Applozic-Web-Plugin
codemonkeynorth
codemonkeynorth commented Nov 29, 2018

Goals

pasting an image into chat input, image should show in sent message

Expected Results

after I pasted an image into chat from my copy buffer (eg copy image from a website in chrome), i expected the image to appear in the sent message.

Actual Results

only the alt text appears in the sent message

Steps to Reproduce

  • copy an image from a website
  • paste image into
codekiln
codekiln commented Mar 27, 2020

The docs specify that to use the API, one needs to set the user in the client: https://getstream.io/chat/docs/init_and_users/?language=js#setting-the-user

Note how we are waiting for the setUser API call to be completed before moving forward. You should always make sure to have the user set before making any more calls. All SDKs make this very easy and wait or queue requests until then.

I

Improve this page

Add a description, image, and links to the chat-api topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the chat-api topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.