Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Commit fa32c44

Browse files
committed
WIP: Support media api, do some refactor and add API as unimplemented.
1 parent 37edcf4 commit fa32c44

23 files changed

+261
-100
lines changed

src/api/r0/client/mod.rs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
//! API client endpoints for the 0.x.x version of the Matrix spec.
2+
3+
pub use self::account::{
4+
AccountPassword,
5+
DeactivateAccount,
6+
PutAccountData,
7+
PutRoomAccountData,
8+
};
9+
pub use self::directory::{GetRoomAlias, DeleteRoomAlias, PutRoomAlias};
10+
pub use self::event_creation::{SendMessageEvent, StateMessageEvent};
11+
pub use self::join::{InviteToRoom, JoinRoom, JoinRoomWithIdOrAlias, KickFromRoom, LeaveRoom};
12+
pub use self::login::Login;
13+
pub use self::logout::Logout;
14+
pub use self::members::Members;
15+
pub use self::presence::{GetPresenceList, GetPresenceStatus, PostPresenceList, PutPresenceStatus};
16+
pub use self::profile::{Profile, GetAvatarUrl, PutAvatarUrl, GetDisplayName, PutDisplayName};
17+
pub use self::registration::Register;
18+
pub use self::room_creation::CreateRoom;
19+
pub use self::room_info::RoomState;
20+
pub use self::tags::{DeleteTag, GetTags, PutTag};
21+
pub use self::sync::Sync;
22+
pub use self::versions::Versions;
23+
pub use self::filter::{GetFilter, PostFilter};
24+
25+
mod account;
26+
mod directory;
27+
mod event_creation;
28+
mod filter;
29+
mod join;
30+
mod login;
31+
mod logout;
32+
mod members;
33+
mod presence;
34+
mod profile;
35+
mod registration;
36+
mod room_creation;
37+
mod room_info;
38+
mod tags;
39+
mod sync;
40+
mod versions;

0 commit comments

Comments
 (0)