Skip to content
This repository was archived by the owner on Jan 1, 2022. It is now read-only.
This repository was archived by the owner on Jan 1, 2022. It is now read-only.

Error Could not create SSL/TLS secure channel #26

@gerberasa

Description

@gerberasa

It seems telegram server requires TLS1.2.
Add this before botclient.SendTextMessageAsync():

Net.ServicePointManager.SecurityProtocol = Net.SecurityProtocolType.Tls12

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