This is the 6666th most frequent Korean word.
위로의
"Consolatory" or "of comfort."
In this sentence, '위로의' functions as an adjective describing the type of words ('말') being offered, specifically ones intended for comfort.
그는 친구에게 위로의 말을 건냈다.
He offered comforting words to his friend.
Here, '위로의' modifies '포옹' to describe the type of hug, one meant to provide comfort or solace.
위로의 포옹이 큰 안정을 주었다.
A comforting hug provided great reassurance.
In this case, '위로의' is used for '메시지', clarifying that the message is meant to convey comfort.