File

src/models/conversation.ts

Index

Properties

Constructor

constructor(uid: string, channel_type: string, conversation_with_fullname: string, recipient: string, recipient_fullname: string, is_new: boolean, last_message_text: string, sender: string, sender_fullname: string, status: string, timestamp: string, time_last_message: string, selected: boolean)
Parameters :
Name Type Optional Description
uid string
channel_type string
conversation_with_fullname string
recipient string
recipient_fullname string
is_new boolean
last_message_text string
sender string
sender_fullname string
status string
timestamp string
time_last_message string
selected boolean

Properties

Public channel_type
channel_type: string
Type : string
Public conversation_with_fullname
conversation_with_fullname: string
Type : string
Public is_new
is_new: boolean
Type : boolean
Public last_message_text
last_message_text: string
Type : string
Public recipient
recipient: string
Type : string
Public recipient_fullname
recipient_fullname: string
Type : string
Public selected
selected: boolean
Type : boolean
Public sender
sender: string
Type : string
Public sender_fullname
sender_fullname: string
Type : string
Public status
status: string
Type : string
Public time_last_message
time_last_message: string
Type : string
Public timestamp
timestamp: string
Type : string
Public uid
uid: string
Type : string
export class ConversationModel {
  constructor(
    public uid: string,
    public channel_type: string,
    public conversation_with_fullname: string,
    public recipient: string,
    public recipient_fullname: string,
    // public image: any,//string,
    public is_new: boolean,
    public last_message_text: string,
    public sender: string,
    public sender_fullname: string,
    public status: string,
    public timestamp: string,
    public time_last_message: string,
    public selected: boolean
  ) { }
}

results matching ""

    No results matching ""