TCHConversationDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TCHConversation.h |
– conversationsClient:conversation:updated:
Called when this conversation is changed.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation updated:(TCHConversationUpdate)updated
Parameters
client |
The conversations client. |
---|---|
conversation |
The conversation. |
updated |
An indication of what changed on the conversation. |
Discussion
Called when this conversation is changed.
Declared In
TCHConversation.h
– conversationsClient:conversationDeleted:
Called when this conversation is deleted.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversationDeleted:(nonnull TCHConversation *)conversation
Parameters
client |
The conversations client. |
---|---|
conversation |
The conversation. |
Discussion
Called when this conversation is deleted.
Declared In
TCHConversation.h
– conversationsClient:conversation:synchronizationStatusUpdated:
Called when the conversation synchronization state is changed.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation synchronizationStatusUpdated:(TCHConversationSynchronizationStatus)status
Parameters
client |
The conversations client. |
---|---|
conversation |
The conversation. |
status |
The current synchronization status of the conversation. |
Discussion
Called when the conversation synchronization state is changed.
Declared In
TCHConversation.h
– conversationsClient:conversation:participantJoined:
Called when this conversation has a new participant join.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation participantJoined:(nonnull TCHParticipant *)participant
Parameters
client |
The conversations client. |
---|---|
conversation |
The conversation. |
participant |
The participant. |
Discussion
Called when this conversation has a new participant join.
Declared In
TCHConversation.h
– conversationsClient:conversation:participant:updated:
Called when a conversation the current user is subscribed to has a participant modified.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation participant:(nonnull TCHParticipant *)participant updated:(TCHParticipantUpdate)updated
Parameters
client |
The conversations client. |
---|---|
conversation |
The conversation. |
participant |
The participant. |
updated |
An indication of what changed on the participant. |
Discussion
Called when a conversation the current user is subscribed to has a participant modified.
Declared In
TCHConversation.h
– conversationsClient:conversation:participantLeft:
Called when this conversation has a participant leave.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation participantLeft:(nonnull TCHParticipant *)participant
Parameters
client |
The conversations client. |
---|---|
conversation |
The conversation. |
participant |
The participant. |
Discussion
Called when this conversation has a participant leave.
Declared In
TCHConversation.h
– conversationsClient:conversation:messageAdded:
Called when this conversation receives a new message.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation messageAdded:(nonnull TCHMessage *)message
Parameters
client |
The conversations client. |
---|---|
conversation |
The conversation. |
message |
The message. |
Discussion
Called when this conversation receives a new message.
Declared In
TCHConversation.h
– conversationsClient:conversation:message:updated:
Called when a message on a conversation the current user is subscribed to is modified.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation message:(nonnull TCHMessage *)message updated:(TCHMessageUpdate)updated
Parameters
client |
The conversations client. |
---|---|
conversation |
The conversation. |
message |
The message. |
updated |
An indication of what changed on the message. |
Discussion
Called when a message on a conversation the current user is subscribed to is modified.
Declared In
TCHConversation.h
– conversationsClient:conversation:messageDeleted:
Called when a message on a conversation the current user is subscribed to is deleted.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation messageDeleted:(nonnull TCHMessage *)message
Parameters
client |
The conversations client. |
---|---|
conversation |
The conversation. |
message |
The message. |
Discussion
Called when a message on a conversation the current user is subscribed to is deleted.
Declared In
TCHConversation.h
– conversationsClient:typingStartedOnConversation:participant:
Called when a participant of a conversation starts typing.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client typingStartedOnConversation:(nonnull TCHConversation *)conversation participant:(nonnull TCHParticipant *)participant
Parameters
client |
The conversations client. |
---|---|
conversation |
The conversation. |
participant |
The participant. |
Discussion
Called when a participant of a conversation starts typing.
Declared In
TCHConversation.h
– conversationsClient:typingEndedOnConversation:participant:
Called when a participant of a conversation ends typing.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client typingEndedOnConversation:(nonnull TCHConversation *)conversation participant:(nonnull TCHParticipant *)participant
Parameters
client |
The conversations client. |
---|---|
conversation |
The conversation. |
participant |
The participant. |
Discussion
Called when a participant of a conversation ends typing.
Declared In
TCHConversation.h
– conversationsClient:conversation:participant:user:updated:
Called when this conversation has a participant’s user updated.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation participant:(nonnull TCHParticipant *)participant user:(nonnull TCHUser *)user updated:(TCHUserUpdate)updated
Parameters
client |
The conversations client. |
---|---|
conversation |
The conversation. |
participant |
The participant. |
user |
The object for changed user. |
updated |
An indication of what changed on the user. |
Discussion
Called when this conversation has a participant’s user updated.
Declared In
TCHConversation.h
– conversationsClient:conversation:participant:userSubscribed:
Called when the user associated with a participant of this conversation is subscribed to.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation participant:(nonnull TCHParticipant *)participant userSubscribed:(nonnull TCHUser *)user
Parameters
client |
The conversations client. |
---|---|
conversation |
The conversation. |
participant |
The participant. |
user |
The object for subscribed user. |
Discussion
Called when the user associated with a participant of this conversation is subscribed to.
Declared In
TCHConversation.h
– conversationsClient:conversation:participant:userUnsubscribed:
Called when the user associated with a participant of this conversation is unsubscribed from.
- (void)conversationsClient:(nonnull TwilioConversationsClient *)client conversation:(nonnull TCHConversation *)conversation participant:(nonnull TCHParticipant *)participant userUnsubscribed:(nonnull TCHUser *)user
Parameters
client |
The conversations client. |
---|---|
conversation |
The conversation. |
participant |
The participant. |
user |
The object for unsubscribed user. |
Discussion
Called when the user associated with a participant of this conversation is unsubscribed from.
Declared In
TCHConversation.h