toggle menu
BIT App
androidJvm
switch theme
search in API
core
/
com.atech.core.usecase
/
Chats
Chats
data
class
Chats
@
Inject
constructor
(
auth
:
FirebaseAuth
,
getChatSettings
:
GetChatSettings
,
setChatSettings
:
SetChatSettings
,
hasUnlimitedAccess
:
CheckHasUnlimitedAccess
)
Members
Constructors
Chats
Link copied to clipboard
@
Inject
constructor
(
auth
:
FirebaseAuth
,
getChatSettings
:
GetChatSettings
,
setChatSettings
:
SetChatSettings
,
hasUnlimitedAccess
:
CheckHasUnlimitedAccess
)
Functions
check
Unlimited
Access
Link copied to clipboard
suspend
fun
checkUnlimitedAccess
(
)
:
Boolean
get
Chat
Settings
Link copied to clipboard
suspend
fun
getChatSettings
(
)
:
Pair
<
Triple
<
Boolean
,
Long
,
Int
>
?
,
Exception
?
>
update
Chat
Enable
Link copied to clipboard
suspend
fun
updateChatEnable
(
isChatEnable
:
Boolean
)
:
Exception
?
update
Current
Chat
Number
Link copied to clipboard
suspend
fun
updateCurrentChatNumber
(
currentChatNumber
:
Int
)
:
Exception
?
update
Last
Chat
Link copied to clipboard
suspend
fun
updateLastChat
(
)
:
Exception
?