api!: deprecate get_next_media()

This commit is contained in:
link2xt
2023-10-03 15:17:34 +00:00
parent 2dd44d5f89
commit 7c4bcf9004
4 changed files with 9 additions and 0 deletions

View File

@@ -2898,6 +2898,9 @@ pub enum Direction {
}
/// Searches next/previous message based on the given message and list of types.
///
/// Deprecated since 2023-10-03.
#[deprecated(note = "use `get_chat_media` instead")]
pub async fn get_next_media(
context: &Context,
curr_msg_id: MsgId,