since current schema is sourced both from tdlib and tdesktop, checking last one in history would be wrong.