code: def astuple(self):
          
          return tuple(getattr(self, f.name) for f in fields(self))
docs: Create a tuple ``{fieldvalue1, ...}`` of the Message object.
           :return: A tuple representation of the message.
          :rtype: Tuple[Any]