Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Join a room. For internal use by the Games SDK only. Calling this method directly is unsupported.
See: Google Play Game Services API Reference for games.rooms.join
.
Synopsis
- type RoomsJoinResource = "games" :> ("v1" :> ("rooms" :> (Capture "roomId" Text :> ("join" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RoomJoinRequest :> Post '[JSON] Room)))))))
- roomsJoin :: RoomJoinRequest -> Text -> RoomsJoin
- data RoomsJoin
- rjPayload :: Lens' RoomsJoin RoomJoinRequest
- rjRoomId :: Lens' RoomsJoin Text
- rjLanguage :: Lens' RoomsJoin (Maybe Text)
REST Resource
type RoomsJoinResource = "games" :> ("v1" :> ("rooms" :> (Capture "roomId" Text :> ("join" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RoomJoinRequest :> Post '[JSON] Room))))))) Source #
A resource alias for games.rooms.join
method which the
RoomsJoin
request conforms to.
Creating a Request
Creates a value of RoomsJoin
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Join a room. For internal use by the Games SDK only. Calling this method directly is unsupported.
See: roomsJoin
smart constructor.