[−][src]Trait glitch_in_the_matrix::room::RoomExt
Trait used to implement methods on Room
.
This exists because Room
is defined in another crate (gm-types
), which
has no knowledge of MatrixClient
. It contains most of the interesting
methods for Room
- most notably, you can make a RoomClient
, which is how
you actually do anything room-related.
Required methods
fn cli<'b, 'c, T>(&'b self, cli: &'c mut T) -> RoomClient<'b, 'a, 'c, T> where
T: MatrixRequestable,
T: MatrixRequestable,
Use an implementor of MatrixRequestable
to make a RoomClient
, an object used to call
endpoints relating to rooms.
If you want to do pretty much anything with this Room
, you probably
want to call this at some point.
Implementors
impl<'a> RoomExt<'a> for Room<'a>
[src]
fn cli<'b, 'c, T>(&'b self, cli: &'c mut T) -> RoomClient<'b, 'a, 'c, T> where
T: MatrixRequestable,
[src]
T: MatrixRequestable,