added cache items: chat_id and chat_flag