An electronic device and method are disclosed herein. The electronic device includes a display, a memory storing biometric information and function information, and a processor. The processor implements the method, including detecting whether a received textual message includes a keyword, when the received textual message includes a predesignated keyword, retrieve particular bio-information corresponding to the keyword from the stored bio-information, and a particular function information from the stored function information, generating one or more textual responses to the received textual message based on the retrieved particular bio-information and the particular function information, and controlling the display to display an answer list including the generated one or more textual responses.