Skip to content

Commit

Permalink
Missed files in cleanup (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkal-pubnub authored Sep 24, 2024
1 parent 8566e2e commit e11ca60
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ interface Event<T : EventContent> {
val timetoken: Long

/**
* Data passed in an event (of [EventContent] subtype) that differ depending on the emitted event type ([EventContent.Typing]], [EventContent.Report], [EventContent.Receipt], [EventContent.Mention], [EventContent.Invite], [EventContent.Custom], [EventContent.Moderation], or [EventContent.TextMessageContent]).
* Data passed in an event (of [EventContent] subtype) that differs depending on the emitted event type
* ([EventContent.Typing]], [EventContent.Report], [EventContent.Receipt], [EventContent.Mention],
* [EventContent.Invite], [EventContent.Custom], [EventContent.Moderation], or [EventContent.TextMessageContent]).
*/
val payload: T

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import com.pubnub.api.models.consumer.pubsub.objects.PNSetMembershipEvent
import com.pubnub.kmp.CustomObject
import com.pubnub.kmp.PNFuture

/**
* Membership is an object that refers to a single user-channel relationship in a chat.
*/
interface Membership {
/**
* Reference to the main Chat object.
Expand Down Expand Up @@ -88,6 +91,7 @@ interface Membership {
/**
* Get a new [Membership] object updated with the values received in the [update].
*
* @param update Data received from the PubNub [com.pubnub.api.v2.callbacks.EventListener.objects] callback.
* @return A [Membership] updated with values that are present in the [update]
*/
operator fun plus(update: PNSetMembershipEvent): Membership
Expand Down

0 comments on commit e11ca60

Please sign in to comment.