Class FriendMsgHistoryCallback
- java.lang.Object
-
- in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
-
- in.dragonbra.javasteam.steam.handlers.steamfriends.callback.FriendMsgHistoryCallback
-
- All Implemented Interfaces:
ICallbackMsg
public class FriendMsgHistoryCallback extends CallbackMsg
This callback is fired in response to receiving historical messages.
-
-
Constructor Summary
Constructors Constructor Description FriendMsgHistoryCallback(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver2.CMsgClientChatGetFriendMessageHistoryResponse.Builder msg, EUniverse universe)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<FriendMessage>getMessages()Offline messages are marked by having setFriendMessage.isUnread()to trueEResultgetResult()SteamIDgetSteamID()-
Methods inherited from class in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
getJobID, setJobID
-
-
-
-
Constructor Detail
-
FriendMsgHistoryCallback
public FriendMsgHistoryCallback(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver2.CMsgClientChatGetFriendMessageHistoryResponse.Builder msg, EUniverse universe)
-
-
Method Detail
-
getResult
public EResult getResult()
- Returns:
- the result of the request.
-
getSteamID
public SteamID getSteamID()
- Returns:
- the
SteamIDof the user with whom these messages were exchanged.
-
getMessages
public java.util.List<FriendMessage> getMessages()
Offline messages are marked by having setFriendMessage.isUnread()to true- Returns:
- the messages exchanged with the user.
-
-