You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an author which is like sender you're suggesting, with first name, last name, image url etc. For everything else that is not in the types, there is a metadata field which is an object, so you can store anything. All types are here https://github.com/flyerhq/react-native-chat-ui/blob/main/src/types.ts. Please be aware, that I do not currently actively support react native version (as you can probably notice) so use at your own risk. I plan to return to the project, but have no timelines atm.
There is an author which is like sender you're suggesting, with first name, last name, image url etc. For everything else that is not in the types, there is a metadata field which is an object, so you can store anything. All types are here https://github.com/flyerhq/react-native-chat-ui/blob/main/src/types.ts. Please be aware, that I do not currently actively support react native version (as you can probably notice) so use at your own risk. I plan to return to the project, but have no timelines atm.
Hello 👋
I finally found this package to be exactly what i needed, but i dont seems to understand some things about the package.
There is no documentation on some aspect of things. eg (the [ ] of message has basic stuff like {author,id,text,type and createdAt}
).
so whats key to stuff like sender{imageUrl, name,isRead}.
i also when through the example code, but didnt see any of those values been passed!
Any help will be very much appreciated. ✌
The text was updated successfully, but these errors were encountered: