# lastMessage doesn't have the text message parameter

**URL:** <https://community.sendbird.com/t/lastmessage-doesnt-have-the-text-message-parameter/9378>\
**Category:** Flutter\
**Tags:** chatsdk\
**Created:** [April 18, 2024, 10:47am UTC](https://community.sendbird.com/t/lastmessage-doesnt-have-the-text-message-parameter/9378 "2024-04-18T10:47:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vladimir\_Plotean](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/vladimir_plotean/32/4837_2.png) [@Vladimir\_Plotean](https://community.sendbird.com/u/Vladimir_Plotean)\
**Post date:** [April 18, 2024, 10:47am UTC](https://community.sendbird.com/t/lastmessage-doesnt-have-the-text-message-parameter/9378/1 "2024-04-18T10:47:35Z")

</div>

* * *

After the change in `FeedChannel` by the replace of lastMessage data type from BaseMessage to NotificationMessage there is no possibility to get the text message. I’ve checked the parameters the closest one would be ‘data’ but the value is empty. On iOS this is working , but i assume because it implements BaseMessage.

**[SDK Version]**  
// What version of the SDK are you using?  
v4.2.9

**[Reproduction Steps]**  
// Please provide reproduction steps and, if possible, code snippets.

```auto
 FeedChannel.getChannel(feed_url).then((channel) {
          setState(() {
            lastMessage = channel.lastMessage.data; // string is empty, doesn't have any other param
          });
        });

```

**[Frequency]**  
// How frequently is this issue occurring?  
always  
**[Current impact]**  
// How is this currently impacting your implementation?  
Can get lastMessage text string
