Documentation for get_dialogs