'This object represents a result of an inline query
that was chosen by the user and sent to their chat partner.
:param result_id: string The unique identifier for the result that was chosen.
:param from_user: User The user that chose the result.
:param query: String The query that was used to obtain the result.
:return: ChosenInlineResult Object.'

def __init__(self, result_id, from_user, query, location=None, inline_message_id=None):

    self.result_id = result_id
    self.from_user = from_user
    self.query = query
    self.location = location
    self.inline_message_id = inline_message_id
