Skip to content

What does disable_notification do in pinChatMessage? #728

Open
@nmlorg

Description

@nmlorg

I usually keep group chats permanently muted, so I'm not really familiar with disable_notification in general, but I'm experimenting a bit and am getting a little confused. When I do …, Android Telegram/Telegram X pops up a notification of type …:

call Telegram Telegram X
sendMessage(chat_id=C, text=T) Groups/Default Groups
sendMessage(chat_id=C, text=T, disable_notification=False) Groups/Default Groups
sendMessage(chat_id=C, text=T, disable_notification=True) Other/Silent Groups 🔕
pinChatMessage(chat_id=C, message_id=M) Other/Silent Groups 🔕
pinChatMessage(chat_id=C, message_id=M+1, disable_notification=False) Other/Silent Groups 🔕
pinChatMessage(chat_id=C, message_id=M+2, disable_notification=True) Other/Silent Groups 🔕

(C is the id of a type=supergroup chat that does not have an @-username.)

I might have messed something up with my clients' notification settings years ago without remembering, I guess I'm just wondering if this is what's supposed to happen and I'm just misunderstanding the intent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions