Class ReceiveOptions
- Namespace
- Signal.Application.Configuration
- Assembly
- Signal.Application.dll
HTTP polling of GET /v1/receive/{number} (normal / native modes).
public sealed class ReceiveOptions
- Inheritance
-
ReceiveOptions
- Inherited Members
Properties
IgnoreAttachments
Do not download attachments into the container (ignore_attachments).
public bool IgnoreAttachments { get; set; }
Property Value
IgnoreStories
Skip story messages (ignore_stories). Default true.
public bool IgnoreStories { get; set; }
Property Value
MaxErrorBackoff
Upper bound of the exponential backoff after failed polls. Default 30 s.
public TimeSpan MaxErrorBackoff { get; set; }
Property Value
MaxMessages
Maximum envelopes per poll (max_messages); null for the API default.
public int? MaxMessages { get; set; }
Property Value
- int?
PollingInterval
Delay between polls when the previous poll returned nothing. Default 1 s.
public TimeSpan PollingInterval { get; set; }
Property Value
SendReadReceipts
Let the container send read receipts for received messages (send_read_receipts).
public bool SendReadReceipts { get; set; }
Property Value
TimeoutSeconds
Server-side long-poll timeout in seconds (timeout query parameter). Default 1.
public int TimeoutSeconds { get; set; }