Skip to content

Commit

Permalink
Add new fields to Gab's post request
Browse files Browse the repository at this point in the history
  • Loading branch information
DoumanAsh committed Dec 1, 2017
1 parent da62406 commit 121842d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/api/gab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ pub mod payload {
body: &'a str,
pub reply_to: &'a str,
pub is_quote: u8,
pub nsfw: u8,
pub is_premium: u8,
pub _method: &'a str,
pub gif: &'a str,
pub category: Option<&'a str>,
pub topic: Option<&'a str>,
Expand All @@ -36,6 +39,9 @@ pub mod payload {
body: message,
reply_to: "",
is_quote: 0,
nsfw: 0,
is_premium: 0,
_method: "post",
gif: "",
category: None,
topic: None,
Expand Down

0 comments on commit 121842d

Please sign in to comment.