def is_prime(a):
if a < 2:
return False
for i in range(2, int(a ** 0.5 + 1)):
if a % i == 0:
return False
else:
return True
add = lambda N1, N2: [i for i in range(N1, N2) if is_prime(i)]
print(message.from_user.first_name) #Имя
print(message.text) #Текст