use text type for chat messages