Added partial support for action resend. Fix crush on incorrect encrypted message in lua mode
Merge github.com:vysheng/tg