code: def mention(self):
          
          if self.username:
              return '@' + self.username
          if self.type == ChatType.PRIVATE:
              return self.full_name
          return None
docs: Get mention if a Chat has a username, or get full name if this is a Private Chat, otherwise None is returned