Open hugojaimeb opened 2 years ago
having the same issue
Same problem.Because MessageTeam removed in stream-chat-react.What is alternative for this.I dont know
@hugojaimeb Uninstalled v10x and installed v9.x it solved for me, or u can install stream-chat-react@6.5.1 instantly
having the same issue and am still looking for a solution
guys, type these lines of codes it works perfectly fine: <Channel
EmptyStateIndicator={EmtypState}
//MessageText is a stream func used to display the message
//Message = {(messageProps, index) => <ChannelInner key={index} {...messageProps} /> }
>
<ChannelInner
setIsEditing = {setIsEditing}
/>
you don't need the MessageTeam function at all, that's why I commented it out.
Hey everyone, I was trying this out and faced the same issue. Got the solution too.
Hello guys. If anyone still needs the solution, then try to use MessageSimple component instead MessageTeam, it works almost the same way. The already deprecated MessageTeam component was removed from the SDK
MessageTeam removed in stream-chat-react.What is alternative for this
The MessageTeam component was removed from the stream-chat-react library as of version 4.0.0. Instead, you can use the Message component with the messageType prop set to "system" to display system messages such as team messages.
After a thorough debugging process, I discovered that the MessageTeam Component is no longer in use. Instead, it should be replaced with Message. Thank you for your attention. If you are interested in hiring me, please contact me via email at tedigirmaabebe@gmail.com.
export 'MessageTeam' (imported as 'MessageTeam') was not found in 'stream-chat-react' (possible exports ATTACHMENT_GROUPS_ORDER, ActionsIcon, Attachment, AttachmentActions, AttachmentActionsContainer, AttachmentPreviewList, AttachmentWithinContainer, Audio, AudioContainer, AutoCompleteTextarea, Avatar, Card, CardAudio, CardContainer, Channel, ChannelActionContext, ChannelActionProvider, ChannelHeader, ChannelList, ChannelListMessenger, ChannelPreview, ChannelPreviewMessenger, ChannelSearch, ChannelStateContext, ChannelStateProvider, Chat, ChatAutoComplete, ChatContext, ChatDown, ChatProvider, CloseIcon, CommandItem, ComponentContext, ComponentProvider, ConnectionStatus, CooldownTimer, DateSeparator, DefaultSuggestionList, DefaultSuggestionListHeader, DefaultSuggestionListItem, DefaultTriggerProvider, DeliveredCheckIcon, DownloadIcon, EditMessageForm, EmojiContext, EmojiIconLarge, EmojiIconSmall, EmojiPicker, EmojiPickerIcon, EmojiProvider, EmoticonItem, EmptyStateIndicator, ErrorIcon, EventComponent, FileAttachment, FileContainer, FileUploadIcon, FileUploadIconFlat, FixedHeightMessage, Gallery, GalleryContainer, GiphyPreviewMessage, ImageComponent, ImageContainer, InfiniteScroll, LoadMoreButton, LoadMorePaginator, LoadingChannels, LoadingErrorIndicator, LoadingIndicator, LoadingIndicatorIcon, MAX_QUERY_CHANNELS_LIMIT, MESSAGE_ACTIONS, MML, MediaContainer, Message, MessageActions, MessageActionsBox, MessageContext, MessageDeleted, MessageDeliveredIcon, MessageErrorIcon, MessageInput, MessageInputContext, MessageInputContextProvider, MessageInputFlat, MessageInputSmall, MessageList, MessageNotification, MessageOptions, MessageProvider, MessageRepliesCountButton, MessageSimple, MessageStatus, MessageText, MessageTimestamp, Modal, ModalGallery, PinIcon, PinIndicator, PlayButton, PopperTooltip, ProgressBar, QuotedMessagePreview, QuotedMessagePreviewHeader, ReactionIcon, ReactionSelector, ReactionsList, ReplyIcon, RetryIcon, SUPPORTED_VIDEO_FORMATS, SafeAnchor, ScrollToBottomButton, SearchBar, SearchInput, SearchResults, SendButton, SendIconV1, SendIconV2, SimpleReactionsList, Streami18n, Thread, ThreadHeader, ThreadIcon, ThreadStart, Tooltip, TranslationContext, TranslationProvider, TypingContext, TypingIndicator, TypingProvider, UnMemoizedLoadMorePaginator, UploadIcon, UploadsPreview, UserItem, VirtualizedMessageList, Window, areMessagePropsEqual, areMessageUIPropsEqual, darkModeTheme, deTranslations, defaultDateTimeParser, defaultPinPermissions, defaultScrollToItem, defaultTimestampFormat, defaultTranslatorFunction, emojiMarkdownPlugin, enTranslations, esTranslations, escapeRegExp, frTranslations, generateRandomId, getChannel, getDisplayImage, getDisplayTitle, getGroupStyles, getImages, getLastReceived, getLatestMessagePreview, getMessageActions, getNonImageAttachments, getReadByTooltipText, getReadStates, getWholeChar, handleActionWarning, hasMoreMessagesProbably, hasNotMoreMessages, hiTranslations, insertIntro, isAudioAttachment, isChannel, isDate, isDayOrMoment, isFileAttachment, isGalleryAttachmentType, isLanguageSupported, isMediaAttachment, isNumberOrString, isOnlyEmojis, isScrapedContent, isSvgAttachment, isUploadedImage, isUserMuted, itTranslations, jaTranslations, koTranslations, makeDateMessageId, mapToUserNameOrId, markDownRenderers, matchMarkdownLinks, mentionsMarkdownPlugin, messageCodeBlocks, messageHasAttachments, messageHasReactions, missingUseFlagHandlerParameterWarning, missingUseMuteHandlerParamsWarning, moveChannelUp, nlTranslations, processMessages, ptTranslations, reactionHandlerWarning, renderAttachmentActions, renderAttachmentWithinContainer, renderAudio, renderCard, renderFile, renderGallery, renderImage, renderMedia, renderPreviewText, renderText, ruTranslations, showMessageActionsBox, trTranslations, useActionHandler, useChannelActionContext, useChannelDeletedListener, useChannelEditMessageHandler, useChannelHiddenListener, useChannelMentionsHandler, useChannelPreviewInfo, useChannelStateContext, useChannelTruncatedListener, useChannelUpdatedListener, useChannelVisibleListener, useChat, useChatContext, useComponentContext, useConnectionRecoveredListener, useCooldownTimer, useCustomStyles, useDeleteHandler, useEditHandler, useEmojiContext, useEnrichedMessages, useFlagHandler, useLastReadData, useMentionsHandler, useMessageContext, useMessageInputContext, useMessageInputState, useMessageListElements, useMessageListScrollManager, useMessageNewListener, useMobileNavigation, useMuteHandler, useNewMessageNotification, useNotificationAddedToChannelListener, useNotificationMessageNewListener, useNotificationRemovedFromChannelListener, useOpenThreadHandler, usePaginatedChannels, usePinHandler, usePrependedMessagesCount, useReactionClick, useReactionHandler, useRetryHandler, useScrollLocationLogic, useShouldForceScrollToBottom, useTranslationContext, useTypingContext, useUserHandler, useUserPresenceChangedListener, useUserRole, validateAndGetMessage, withChannelActionContext, withChannelStateContext, withChatContext, withComponentContext, withEmojiContext, withMessageContext, withTranslationContext, withTypingContext)