Skip to content

Commit

Permalink
Merge branch 'master' of github.com:adw0rd/instagrapi
Browse files Browse the repository at this point in the history
  • Loading branch information
adw0rd committed Apr 21, 2023
2 parents 2abe444 + 7735680 commit c2ef44e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion instagrapi/mixins/direct.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,17 @@ def direct_send(
), "Specify user_ids or thread_ids, but not both"
method = "text"
token = self.generate_mutation_token()

kwargs = {

"action": "send_item",
"is_x_transport_forward": 'false',
"send_silently": 'false',
"is_shh_mode": "0",
"send_attribution": "direct_thread",
"send_attribution": "message_button",
"client_context": token,
"mutation_token": token,
'_uuid': self.uuid,
"nav_chain": "1qT:feed_timeline:1,1qT:feed_timeline:2,1qT:feed_timeline:3,7Az:direct_inbox:4,7Az:direct_inbox:5,5rG:direct_thread:7",
"offline_threading_id": token,
}
Expand Down

0 comments on commit c2ef44e

Please sign in to comment.