Allow caption for audio and file.
Need to preview all the attachments now, to be able to type a caption.
This commit is contained in:
parent
ee50b50dda
commit
042d079b0a
13 changed files with 112 additions and 102 deletions
|
|
@ -125,6 +125,8 @@ class MediaSender @Inject constructor(
|
|||
sendAudio(
|
||||
file = uploadInfo.file,
|
||||
audioInfo = uploadInfo.audioInfo,
|
||||
caption = caption,
|
||||
formattedCaption = formattedCaption,
|
||||
progressCallback = progressCallback
|
||||
)
|
||||
}
|
||||
|
|
@ -140,6 +142,8 @@ class MediaSender @Inject constructor(
|
|||
sendFile(
|
||||
file = uploadInfo.file,
|
||||
fileInfo = uploadInfo.fileInfo,
|
||||
caption = caption,
|
||||
formattedCaption = formattedCaption,
|
||||
progressCallback = progressCallback
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue