add: upload alt text
This commit is contained in:
parent
3b5b0ce1a1
commit
e0e38b2b32
13 changed files with 224 additions and 59 deletions
|
@ -44,6 +44,7 @@ pub struct MediaUpload {
|
|||
pub created: usize,
|
||||
pub owner: usize,
|
||||
pub what: MediaType,
|
||||
pub alt: String,
|
||||
}
|
||||
|
||||
impl MediaUpload {
|
||||
|
@ -54,6 +55,7 @@ impl MediaUpload {
|
|||
created: unix_epoch_timestamp(),
|
||||
owner,
|
||||
what,
|
||||
alt: String::new(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue