Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Emulsion.Telegram/Emulsion.Telegram.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SPDX-License-Identifier: MIT
</ItemGroup>
<ItemGroup>
<PackageReference Include="Funogram" Version="3.0.4" />
<PackageReference Include="Funogram.Telegram" Version="9.2.0" />
<PackageReference Include="Funogram.Telegram" Version="10.1.0" />
<PackageReference Include="Serilog" Version="4.3.1" />
</ItemGroup>
<ItemGroup>
Expand Down
19 changes: 13 additions & 6 deletions Emulsion.Tests/Telegram/FunogramTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,25 @@ let private createPoll from (question: string) (options: string[]) =
|> Array.map (fun opt -> {
Text = opt
VoterCount = 0
PersistentId = ""
Media = None
AddedByUser = None
AddedByChat = None
AdditionDate = None
TextEntities = Some [| |]
})

let poll= Poll.Create(
id = "",
question = question,
options = options,
totalVoterCount = 0L,
isClosed = false,
isAnonymous = false,
allowsRevoting = false,
allowsMultipleAnswers = false,
``type`` = "",
allowsMultipleAnswers = false
isAnonymous = false,
membersOnly = false,
totalVoterCount = 0L,
options = options,
question = question,
isClosed = false
)

{ defaultMessage with
Expand Down
1 change: 1 addition & 0 deletions Emulsion.Tests/Telegram/LinkGeneratorTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ let private messageWithVideo =
Height = 0
MimeType = None
StartTimestamp = None
Qualities = None
Thumbnail = None
Width = 0
}
Expand Down
Loading