Message input field

use meaningful consts with human readable names instead of numbers