Skip to content

NotificationTypeNewPushMessage

Type · TDLib 1.8.67 · d1085f9c

New message was received through a push notification

NotificationTypeNewPushMessage(
  message_id: int53,
  sender_id: MessageSender,
  sender_name: string,
  is_outgoing: Bool,
  content: PushMessageContent
) → NotificationType

message_id

int53

The message identifier. The message will not be available in the chat history, but the identifier can be used in viewMessages, or as a message to be replied in the same chat

sender_id

MessageSender

Identifier of the sender of the message. Corresponding user or chat may be inaccessible

sender_name

string

Name of the sender

is_outgoing

Bool

True, if the message is outgoing

content

PushMessageContent

Push message content