'Retrieve message by its id.
Args:
idnum (int or str): The dbref to retrieve.
Returns:
message (Msg): The message.'

def get_message_by_id(self, idnum):

    try:
        return self.get(id=self.dbref(idnum, reqhash=False))
    except Exception:
        return None
