Transfer of text message

Can we send text message from one place to another through asterisk .I meant just like gtalk or yahoo messanger.If yes then how