File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -322,8 +322,8 @@ def delete_blocklist(name)
322322 delete ( "blocklists/#{ name } " )
323323 end
324324
325- def export_channels ( *channels )
326- post ( 'export_channels' , data : { channels : channels } )
325+ def export_channels ( *channels , ** options )
326+ post ( 'export_channels' , data : { channels : channels , ** options } )
327327 end
328328
329329 def get_export_channel_status ( task_id )
Original file line number Diff line number Diff line change 466466 ch . create ( @random_user [ :id ] )
467467 ch . send_message ( { text : 'Hey Joni' } , @random_user [ :id ] )
468468
469- resp = @client . export_channels ( { type : ch . channel_type , id : ch . id } )
469+ options = { clear_deleted_message_text : true , include_truncated_messages : true }
470+ resp = @client . export_channels ( { type : ch . channel_type , id : ch . id } , **options )
470471 expect ( resp [ 'task_id' ] ) . not_to be_empty
471472
472473 task_id = resp [ 'task_id' ]
You can’t perform that action at this time.
0 commit comments