Hard.
Everyone in this video, Let's Ride allows it to get on messages in conversations.
Okay, so let's get started.
Go here I will create another method called Get on message.
Okay.
And right here we need the conversation ID.
Now let me write this right here.
We need to return.
Actually I will create another variable.
I will call it why this dot message model dot file okay.
In here we need to put the conversation.
We make conversation.
And over here right.
And of course right now we need to stop it by Created are filled in descending order.
Sorry.
In increasing order.
Okay.
Something like that.
Right?
And right now I need to.
Imagination.
And do some stuff like that.
Right.
And.
But before that, let me go to the message right here and I will remove the created art.
Okay.
And let the art.
Over here.
Okay.
We will show that.
And I will return the message right here.
So let us put in here, uh.
Let me.
Create A no fire zone message.
Okay.
Copy the URL over here.
And copy the conversation ID.
And right here let.
Get on message and move the conversation over here.
Right.
And let's paste right here.
I will duplicate.
We will get on message.
In conversation.
And let's change the generator to get and remove the body.
Let me say right here you can say this will return.
On the message in the conversation.
Ideas and hellos.
Something like that.
Right.
And right now before we do the visualization we need to transform it a little bit okay.
We need to create a respondto.
And before that we need to populate.
Following will be the sender okay.
And uh let me say we need to populate the sender and symbis.
Right.
Now let's do that right here.
I will capitalize the center and capitalize seen by over here.
Let me see.
And again.
We already got the signals and.
Seen by right and in the same order.
We only need the name and avatar.
So for a reason I will call name and avatar and symbol will be also the same.
We need the name and avatar.
Right.
Let's send up.
Okay.
We only got the name and number over here, so let's create the video for this thing, okay.
Now let's paint the video right here and apply your colors from now to create the video.
Okay.
I'm sure you can do that.
Right.
So pause the video and I will see you.
So how about your solution?
Let me show you how we can create a video for us.
In the video, create a new file.
Folder will be the other.
Okay.
And conversation.
And the sender's okay.
We need to create a sender id sender name and sender avatar URL.
Okay.
Well, we need to validate.
Let us.
Continue this.
We need the test.
Verify.
With the verify.
What we need to create a screen like that.
Okay.
We need to create a screen, uh, right here.
And is released also.
And we need to restructure the scene by.
Releasing by.
We need to create another video and unitize.
Okay.
Right now let me comment it.
This is my over here.
And we need to create art.
Art.
Okay.
Now Let me step by step and ask the song decorator in front of you.
And with the conversation.
It must be the same with the sender ID.
Windows box over here.
And we need to transform.
This Friday.
Okay.
Over here.
And name.
And right here we need to convert this back to the after you right click copy inside post.
Copies please.
Here.
Rename.
Sorry.
Remove the file by this.
And make sure we are out of the way here.
Press here.
Right.
And we have a test Is both and with the media file.
With the media file.
We need to convert it back or show.
Right.
Which is the screen over here.
Let me show you how we can do that.
I will jump for first.
Now I will console.log object dot media bias.
Over here I will console.log and I will show you right here.
Let me just go.
And create it up right.
Let's close this here also and witnessing by how we can write us the symbol.
Over here I will create another little.
Sung by McHale.
Okay, we need the name.
And the avatar is exactly the same right here.
Let me copy.
Everything feels over here with us and put that inside the scene by little.
Right?
Right here.
Um, we have a scene by ID, scene by name and scene by avatar.
And right here.
See, my little right hand is bold and you just.
Sit back with your.
Okay.
I reset the controller, let you use correct transform DTO and got this one message over here.
Let's say now you will say right here we got seat by.
Oh sorry for that.
We need to refactor the transform over here.
Right.
Object.
Sorry.
Object not seen by symbol over The.
Trailer is here, so.
Let's see it again.
We got the internal server error.
In here.
Seen by.
Mistake.
But.
Right now we already got.
Him.
Actually, we have a little bit of wrong over here.
Now, right now.
We should remove the object.
Let me show you what I mean.
Right here.
Same idea.
Let me draw the object.
Let me say.
Now, we already got this right.
This is actually the scene by.
Okay.
Because we already use the tile over here.
So we don't need to not sit by one more time because the symbol is already.
Everything about us.
And right here with the tile, we already looked through the array.
For that reason, the object right here is for sure will be the scene by.
Okay, so for that reason, in this case we just need to remove Standby over here.
The water glass.
Yeah.
Okay.
And we are so.
My bad.
Okay.
Let me say it again.
Not.
You can say we already got this scene in my name, and that is.
Okay.
For now.
Act in.
The scene by avatar.
PA, let let me say we have an avatar inside here.
Not.
Whom?
We have one avatar that is 59.
Let me say.
And over here, the avatar IRL.
Whom?
It means this field right here is already.
Something went wrong.
We need to convert that also.
Let me try to command the transform video and see what is the response.
Again.
Let me say.
We got the avatar.
Okay.
We already got avatar.
Avatar.
Over here.
Avatar.
Let me try to compare.
And here we transform over here.
Also, what actually happened is this guy.
Let me out on command.
We got only five MB.
Let me remote.
Say.
Right here.
Ah, I know, I know.
Actually.
Right here.
This is the next step.
State.
Okay.
You can say right here.
Uh, let me show you.
What is it mean?
Now, if I say.
Now you can say the sender here is a object.
And inside the object here you have one more nested object will be the avatar inside the sender.
Right.
So for that reason, you will see the wrong.
Let me fix that right here for you to fix before go to the avatar let me.
Remove and right here with the question mark, not um.
Sender.
Right.
Object.
Avatar version right here.
Question mark one more time.
And right here.
Remove that.
Okay.
Nice.
And right here will be exactly the same.
Right.
Now you can see right here I have a symbol inside a symbol.
We have a avatar.
Seen by okay.
Actually in the scene by we don't need.
Okay.
For now, let me say we already got the scene by avatar, right?
Right here.
We need to fix a bit object.
All right.
Here we should use the object dot avatar.
Right.
Okay.
And it should work for now.
Let me say.
Right here.
We already got the here, here.
So.
Okay.
This guy here will mean we already successfully confirm the DTO.
And in the next video, we will do the visualization for the get own message.
But before that, let's try to do that by yourself using the cursor pagination.
Okay.
I'm sure you can do that.
Right.
I will see you in the next one.