diff --git a/src/requests/mod.rs b/src/requests/mod.rs index 04c2251b..af1488fd 100644 --- a/src/requests/mod.rs +++ b/src/requests/mod.rs @@ -22,6 +22,12 @@ pub use self::{ send_photo::SendPhoto, send_poll::SendPoll, send_venue::SendVenue, stop_message_live_location::StopMessageLiveLocation, unban_chat_member::UnbanChatMember, + promote_chat_member::PromoteChatMember, + send_animation::SendAnimation, + send_document::SendDocument, + send_video::SendVideo, + send_video_note::SendVideoNote, + send_voice::SendVoice, }; pub type ResponseResult = Result; @@ -103,3 +109,9 @@ mod send_poll; mod send_venue; mod stop_message_live_location; mod unban_chat_member; +mod promote_chat_member; +mod send_animation; +mod send_document; +mod send_video; +mod send_video_note; +mod send_voice; \ No newline at end of file diff --git a/src/requests/promote_chat_member.rs b/src/requests/promote_chat_member.rs new file mode 100644 index 00000000..09b139bd --- /dev/null +++ b/src/requests/promote_chat_member.rs @@ -0,0 +1,7 @@ +use crate::requests::RequestContext; +///TODO: add implementation +#[derive(Debug, Clone, Serialize)] +pub struct PromoteChatMember<'a> { + #[serde(skip_serializing)] + ctx: RequestContext<'a>, +} diff --git a/src/requests/send_animation.rs b/src/requests/send_animation.rs new file mode 100644 index 00000000..90879064 --- /dev/null +++ b/src/requests/send_animation.rs @@ -0,0 +1,7 @@ +use crate::requests::RequestContext; +///TODO: add implementation +#[derive(Debug, Clone, Serialize)] +pub struct SendAnimation<'a> { + #[serde(skip_serializing)] + ctx: RequestContext<'a>, +} diff --git a/src/requests/send_document.rs b/src/requests/send_document.rs new file mode 100644 index 00000000..512fffa4 --- /dev/null +++ b/src/requests/send_document.rs @@ -0,0 +1,7 @@ +use crate::requests::RequestContext; +///TODO: add implementation +#[derive(Debug, Clone, Serialize)] +pub struct SendDocument<'a> { + #[serde(skip_serializing)] + ctx: RequestContext<'a>, +} diff --git a/src/requests/send_video.rs b/src/requests/send_video.rs new file mode 100644 index 00000000..19569aa3 --- /dev/null +++ b/src/requests/send_video.rs @@ -0,0 +1,7 @@ +use crate::requests::RequestContext; +///TODO: add implementation +#[derive(Debug, Clone, Serialize)] +pub struct SendVideo<'a> { + #[serde(skip_serializing)] + ctx: RequestContext<'a>, +} diff --git a/src/requests/send_video_note.rs b/src/requests/send_video_note.rs new file mode 100644 index 00000000..58d9f7d5 --- /dev/null +++ b/src/requests/send_video_note.rs @@ -0,0 +1,7 @@ +use crate::requests::RequestContext; +///TODO: add implementation +#[derive(Debug, Clone, Serialize)] +pub struct SendVideoNote<'a> { + #[serde(skip_serializing)] + ctx: RequestContext<'a>, +} diff --git a/src/requests/send_voice.rs b/src/requests/send_voice.rs new file mode 100644 index 00000000..86981748 --- /dev/null +++ b/src/requests/send_voice.rs @@ -0,0 +1,7 @@ +use crate::requests::RequestContext; +///TODO: add implementation +#[derive(Debug, Clone, Serialize)] +pub struct SendVoice<'a> { + #[serde(skip_serializing)] + ctx: RequestContext<'a>, +}