An electronic device comprising: a communication circuit; a touch screen; at least one memory configured to store an application supporting a rich communication service, RCS; and at least one processor, wherein the at least one processor is configured to control the electronic device to: receive an RCS message from an external device (210-1; 210-2; 210-3; 220; 230) through the communication circuit using the application; characterized in that the at least one processor is configured to control the electronic device to: identify whether the RCS message is a first type or a second type based on data included in a header of the RCS message; identify a first layout object from the RCS message based on identifying that the message is the first type; identify whether each of second objects under the first layout object is a content object or a layout object indicating relative positions of a plurality of contents provided by the content object to be displayed on the touch screen; and display the plurality of contents based on the relative positions identified based on the layout object. a communication circuit; a touch screen; at least one memory configured to store an application supporting a rich communication service, RCS; and at least one processor, wherein the at least one processor is configured to control the electronic device to: receive an RCS message from an external device (210-1; 210-2; 210-3; 220; 230) through the communication circuit using the application; characterized in that the at least one processor is configured to control the electronic device to: identify whether the RCS message is a first type or a second type based on data included in a header of the RCS message; identify a first layout object from the RCS message based on identifying that the message is the first type; identify whether each of second objects under the first layout object is a content object or a layout object indicating relative positions of a plurality of contents provided by the content object to be displayed on the touch screen; and display the plurality of contents based on the relative positions identified based on the layout object. receive an RCS message from an external device (210-1; 210-2; 210-3; 220; 230) through the communication circuit using the application; characterized in that the at least one processor is configured to control the electronic device to: identify whether the RCS message is a first type or a second type based on data included in a header of the RCS message; identify a first layout object from the RCS message based on identifying that the message is the first type; identify whether each of second objects under the first layout object is a content object or a layout object indicating relative positions of a plurality of contents provided by the content object to be displayed on the touch screen; and display the plurality of contents based on the relative positions identified based on the layout object. identify whether the RCS message is a first type or a second type based on data included in a header of the RCS message; identify a first layout object from the RCS message based on identifying that the message is the first type; identify whether each of second objects under the first layout object is a content object or a layout object indicating relative positions of a plurality of contents provided by the content object to be displayed on the touch screen; and display the plurality of contents based on the relative positions identified based on the layout object.